Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 192.7 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.4/1.4, allocations: 205.1 MB / 222.4 MB, free: 4.605 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.668/1.668, allocations: 292.3 MB / 0.5489 GB, free: 12.84 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 71.7 kB / 0.6716 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.219, allocations: 114.6 MB / 0.7835 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004422/0.2234, allocations: 3.066 MB / 0.7865 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003008/0.2265, allocations: 1.942 MB / 0.7884 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001514/0.2267, allocations: 11.94 kB / 0.7884 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009249/0.2276, allocations: 270.9 kB / 0.7886 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004157/0.228, allocations: 195.1 kB / 0.7888 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005838/0.2286, allocations: 246.1 kB / 0.7891 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003239/0.2289, allocations: 318.9 kB / 0.7894 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003286/0.2293, allocations: 192.9 kB / 0.7895 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001615/0.2294, allocations: 127.5 kB / 0.7897 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003133/0.2298, allocations: 151.5 kB / 0.7898 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.811e-05/0.2298, allocations: 24 kB / 0.7898 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000615/0.2304, allocations: 399.2 kB / 0.7902 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.2306, allocations: 91.66 kB / 0.7903 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.2307, allocations: 115.5 kB / 0.7904 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005804/0.2313, allocations: 474.7 kB / 0.7909 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.2313, allocations: 3.938 kB / 0.7909 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2313, allocations: 0 / 0.7909 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.2313, allocations: 0 / 0.7909 GB, free: 5.805 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0008365/0.2321, allocations: 0.5692 MB / 0.7914 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.2322, allocations: 8.031 kB / 0.7914 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.119e-05/0.2323, allocations: 54.73 kB / 0.7915 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007792/0.233, allocations: 112.5 kB / 0.7916 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003179/0.2334, allocations: 259.8 kB / 0.7918 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.2334, allocations: 12.81 kB / 0.7919 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.663e-05/0.2335, allocations: 20.38 kB / 0.7919 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005425/0.234, allocations: 357 kB / 0.7922 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.234, allocations: 0 / 0.7922 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.114e-05/0.2341, allocations: 12 kB / 0.7922 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.405e-05/0.2341, allocations: 20.42 kB / 0.7922 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004514/0.2346, allocations: 301.4 kB / 0.7925 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002078/0.2367, allocations: 1.741 MB / 0.7942 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004601/0.2371, allocations: 322.1 kB / 0.7945 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.2373, allocations: 109.9 kB / 0.7946 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.895e-05/0.2374, allocations: 93.03 kB / 0.7947 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.2374, allocations: 34.56 kB / 0.7948 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.293e-06/0.2374, allocations: 4 kB / 0.7948 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.002437/0.2399, allocations: 0.9662 MB / 0.7957 GB, free: 464 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/0.2399, allocations: 85.05 kB / 0.7958 GB, free: 360 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.2402, allocations: 211.8 kB / 0.796 GB, free: 140 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.2402, allocations: 29.7 kB / 0.796 GB, free: 104 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.2403, allocations: 180 kB / 0.7962 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.036e-05/0.2404, allocations: 70.86 kB / 0.7963 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.2405, allocations: 65.59 kB / 0.7963 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.2406, allocations: 330.8 kB / 0.7966 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001822/0.2408, allocations: 132 kB / 0.7968 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002341/0.2411, allocations: 217.7 kB / 0.797 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004343/0.2415, allocations: 368.5 kB / 0.7973 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2415, allocations: 0 / 0.7973 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008574/0.2424, allocations: 0.5042 MB / 0.7978 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.2424, allocations: 8 kB / 0.7978 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.2424, allocations: 0 / 0.7978 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005077/0.2429, allocations: 155.6 kB / 0.798 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002487/0.2432, allocations: 59.91 kB / 0.798 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003141/0.2464, allocations: 4.186 MB / 0.8021 GB, free: 9.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/0.2466, allocations: 23.98 kB / 0.8021 GB, free: 9.387 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.537e-05/0.2466, allocations: 16 kB / 0.8022 GB, free: 9.371 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001859/0.2468, allocations: 173.6 kB / 0.8023 GB, free: 9.191 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.996e-05/0.2469, allocations: 19.81 kB / 0.8023 GB, free: 9.172 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008161/0.2477, allocations: 476.2 kB / 0.8028 GB, free: 8.695 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.004e-06/0.2477, allocations: 7.984 kB / 0.8028 GB, free: 8.688 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.2477, allocations: 0 / 0.8028 GB, free: 8.688 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.2477, allocations: 0 / 0.8028 GB, free: 8.688 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001472/0.2492, allocations: 1.008 MB / 0.8038 GB, free: 7.586 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.2492, allocations: 0 / 0.8038 GB, free: 7.586 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/0.2494, allocations: 39.97 kB / 0.8038 GB, free: 7.547 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004126/0.2498, allocations: 143.4 kB / 0.804 GB, free: 7.395 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.552e-05/0.2498, allocations: 11.98 kB / 0.804 GB, free: 7.383 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002774/0.2526, allocations: 4.171 MB / 0.808 GB, free: 2.879 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.2526, allocations: 3.938 kB / 0.8081 GB, free: 2.875 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007876/0.2534, allocations: 0.6267 MB / 0.8087 GB, free: 2.195 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001323/0.2536, allocations: 128.7 kB / 0.8088 GB, free: 2.051 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.539e-05/0.2536, allocations: 12 kB / 0.8088 GB, free: 2.039 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002417/0.2539, allocations: 23.97 kB / 0.8088 GB, free: 2.016 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.813e-05/0.2539, allocations: 19.92 kB / 0.8088 GB, free: 1.996 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.988e-05/0.2539, allocations: 12 kB / 0.8089 GB, free: 1.984 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001446/0.2541, allocations: 157.5 kB / 0.809 GB, free: 1.832 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2541, allocations: 0 / 0.809 GB, free: 1.832 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005239/0.2546, allocations: 88 kB / 0.8091 GB, free: 1.746 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001035/0.2557, allocations: 1.208 MB / 0.8103 GB, free: 484 kB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009062/0.2566, allocations: 0.5817 MB / 0.8108 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2566, allocations: 0.625 kB / 0.8108 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004698/0.2571, allocations: 417 kB / 0.8112 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004899/0.2576, allocations: 39.97 kB / 0.8113 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003954/0.2616, allocations: 3.311 MB / 0.8145 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003939/0.262, allocations: 0.7828 MB / 0.8153 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001861/0.2622, allocations: 62.23 kB / 0.8153 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.2623, allocations: 75.42 kB / 0.8154 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of SimCode: time 1.042e-06/0.2623, allocations: 0 / 0.8154 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3629/0.6252, allocations: 6.607 MB / 0.8219 GB, free: 4.449 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.43/13.05, allocations: 13.27 kB / 0.8219 GB, free: 4.438 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)