Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestLoopBreaker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestLoopBreaker,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestLoopBreaker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestLoopBreaker,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestLoopBreaker",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8308/0.8308, allocations: 150.8 MB / 166.1 MB, free: 15.39 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 2.346e-05/2.347e-05, allocations: 4 kB / 204.9 MB, free: 9.969 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1623, allocations: 31.99 MB / 236.8 MB, free: 5.387 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestLoopBreaker): time 1.558/1.721, allocations: 295.5 MB / 0.5198 GB, free: 12.35 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03496/1.756, allocations: 33.1 MB / 0.5522 GB, free: 11.39 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001789/1.756, allocations: 4 kB / 0.5522 GB, free: 11.39 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000322/1.756, allocations: 115.3 kB / 0.5523 GB, free: 11.28 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002654/1.757, allocations: 142.9 kB / 0.5524 GB, free: 11.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01587/1.772, allocations: 6.429 MB / 0.5587 GB, free: 4.703 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006494/1.773, allocations: 0.5753 MB / 0.5593 GB, free: 4.125 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003023/1.773, allocations: 246.3 kB / 0.5595 GB, free: 3.891 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002416/1.774, allocations: 203 kB / 0.5597 GB, free: 3.691 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001855/1.774, allocations: 183 kB / 0.5599 GB, free: 3.512 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.969e-05/1.774, allocations: 20 kB / 0.5599 GB, free: 3.492 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02273/1.797, allocations: 14.96 MB / 0.5745 GB, free: 4.516 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000111/1.797, allocations: 71.56 kB / 0.5746 GB, free: 4.445 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003209/1.797, allocations: 252.4 kB / 0.5748 GB, free: 4.191 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01609/1.813, allocations: 7.707 MB / 0.5823 GB, free: 12.46 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/1.813, allocations: 4 kB / 0.5823 GB, free: 12.46 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.455e-06/1.813, allocations: 0 / 0.5823 GB, free: 12.46 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.705e-06/1.813, allocations: 0 / 0.5823 GB, free: 12.46 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.003716/1.817, allocations: 1.447 MB / 0.5837 GB, free: 10.96 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/1.817, allocations: 8.031 kB / 0.5837 GB, free: 10.96 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001467/1.817, allocations: 102.5 kB / 0.5838 GB, free: 10.85 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.571e-05/1.817, allocations: 67.19 kB / 0.5839 GB, free: 10.78 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003115/1.818, allocations: 291.8 kB / 0.5842 GB, free: 10.46 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.395e-05/1.818, allocations: 37 kB / 0.5842 GB, free: 10.43 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.232e-05/1.818, allocations: 44 kB / 0.5843 GB, free: 10.38 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008061/1.819, allocations: 0.6056 MB / 0.5849 GB, free: 9.719 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/1.819, allocations: 0 / 0.5849 GB, free: 9.719 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.564e-05/1.819, allocations: 20 kB / 0.5849 GB, free: 9.699 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.639e-05/1.819, allocations: 27.92 kB / 0.5849 GB, free: 9.672 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005147/1.819, allocations: 343.9 kB / 0.5852 GB, free: 9.34 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002873/1.822, allocations: 3.814 MB / 0.5889 GB, free: 5.121 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004237/1.823, allocations: 207.3 kB / 0.5891 GB, free: 4.91 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001985/1.823, allocations: 134 kB / 0.5893 GB, free: 4.777 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08268/1.905, allocations: 44.47 MB / 0.6327 GB, free: 2.75 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/1.905, allocations: 30.56 kB / 0.6327 GB, free: 2.711 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=55): time 2.425e-06/1.905, allocations: 0 / 0.6327 GB, free: 2.711 MB / 0.5137 GB Notification: Performance of matching and sorting (n=55): time 0.001841/1.907, allocations: 0.8322 MB / 0.6335 GB, free: 1.812 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/1.907, allocations: 55.34 kB / 0.6336 GB, free: 1.746 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003647/1.908, allocations: 324.3 kB / 0.6339 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/1.908, allocations: 29.64 kB / 0.6339 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/1.908, allocations: 232.8 kB / 0.6342 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/1.908, allocations: 177.3 kB / 0.6343 GB, free: 0.9805 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.806e-05/1.908, allocations: 53.69 kB / 0.6344 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000149/1.908, allocations: 346.8 kB / 0.6347 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001756/1.909, allocations: 100.6 kB / 0.6348 GB, free: 488 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002418/1.909, allocations: 230.5 kB / 0.635 GB, free: 208 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000488/1.909, allocations: 373.1 kB / 0.6354 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/1.909, allocations: 4 kB / 0.6354 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008691/1.91, allocations: 0.5008 MB / 0.6359 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/1.91, allocations: 8 kB / 0.6359 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/1.91, allocations: 14.17 kB / 0.6359 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005767/1.911, allocations: 244.3 kB / 0.6361 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002353/1.911, allocations: 55.88 kB / 0.6362 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001807/1.913, allocations: 2.518 MB / 0.6386 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002216/1.913, allocations: 59.22 kB / 0.6387 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.895e-05/1.913, allocations: 24.17 kB / 0.6387 GB, free: 12.16 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 14 (loopBreakerP.C2.b,loopBreakerP.C1.a,sink.C.a,mixer2_1.Ce1.a,mixer2_1.Cs.b,mixer2_1.Ce2.a,splitter2_1.Cs2.b,splitter2_1.Cs1.b,splitter2_1.Ce.a,singularPressureLoss2.C2.b,singularPressureLoss2.C1.a,singularPressureLoss1.C2.b,singularPressureLoss1.C1.a,sourcePQ.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001867/1.913, allocations: 165.8 kB / 0.6389 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.685e-05/1.913, allocations: 35.53 kB / 0.6389 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001057/1.914, allocations: 0.7996 MB / 0.6397 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007884/1.915, allocations: 0.5956 MB / 0.6403 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/1.915, allocations: 0 / 0.6403 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/1.915, allocations: 3.984 kB / 0.6403 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002486/1.918, allocations: 1.829 MB / 0.6421 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/1.918, allocations: 7.984 kB / 0.6421 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002477/1.918, allocations: 87.84 kB / 0.6422 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000462/1.919, allocations: 272.1 kB / 0.6424 GB, free: 8.191 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.861e-05/1.919, allocations: 23.88 kB / 0.6424 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001655/1.92, allocations: 2.546 MB / 0.6449 GB, free: 5.438 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.982e-06/1.92, allocations: 7.938 kB / 0.6449 GB, free: 5.43 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009169/1.921, allocations: 0.8199 MB / 0.6457 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002037/1.921, allocations: 192.1 kB / 0.6459 GB, free: 4.328 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.514e-05/1.921, allocations: 12 kB / 0.6459 GB, free: 4.316 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002223/1.922, allocations: 20 kB / 0.6459 GB, free: 4.297 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.773e-05/1.922, allocations: 51.81 kB / 0.646 GB, free: 4.246 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.688e-05/1.922, allocations: 24 kB / 0.646 GB, free: 4.223 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002635/1.922, allocations: 271.2 kB / 0.6463 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/1.922, allocations: 0 / 0.6463 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003151/1.925, allocations: 1.14 MB / 0.6474 GB, free: 2.816 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (52): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006827/1.932, allocations: 2.859 MB / 0.6502 GB, free: 15.87 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001203/1.933, allocations: 0.7023 MB / 0.6509 GB, free: 15.13 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/1.933, allocations: 0 / 0.6509 GB, free: 15.13 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006117/1.934, allocations: 413 kB / 0.6513 GB, free: 14.71 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001391/1.935, allocations: 219.3 kB / 0.6515 GB, free: 14.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007211/1.943, allocations: 5.037 MB / 0.6564 GB, free: 9.18 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004433/1.943, allocations: 0.9105 MB / 0.6573 GB, free: 8.238 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002091/1.943, allocations: 51.25 kB / 0.6573 GB, free: 8.188 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002299/1.943, allocations: 219.4 kB / 0.6575 GB, free: 7.973 MB / 0.545 GB Notification: Performance of SimCode: time 6.51e-07/1.943, allocations: 0 / 0.6575 GB, free: 7.973 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2544/2.198, allocations: 49.7 MB / 0.7061 GB, free: 224.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001532/2.198, allocations: 240.7 kB / 0.7063 GB, free: 224.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.091/6.289, allocations: 0 / 0.7063 GB, free: 224.1 MB / 0.5762 GB (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestLoopBreaker.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestLoopBreaker.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestLoopBreaker.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestLoopBreaker.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestLoopBreaker_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestLoopBreaker.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestLoopBreaker.pipe 2>&1)