Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.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.TestSimpleStaticCondenser,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestSimpleStaticCondenser",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestSimpleStaticCondenser",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.7649/0.7649, allocations: 150.8 MB / 166.1 MB, free: 15.39 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.808e-05/1.809e-05, allocations: 4 kB / 204.9 MB, free: 9.992 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1349, allocations: 31.99 MB / 236.8 MB, free: 5.395 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.TestSimpleStaticCondenser): time 1.49/1.625, allocations: 296.1 MB / 0.5205 GB, free: 11.66 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03149/1.657, allocations: 26.79 MB / 0.5466 GB, free: 1.047 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000272/1.657, allocations: 8 kB / 0.5466 GB, free: 1.039 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004187/1.658, allocations: 155.1 kB / 0.5468 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004402/1.658, allocations: 234.3 kB / 0.547 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01478/1.673, allocations: 5.392 MB / 0.5523 GB, free: 11.27 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001002/1.674, allocations: 0.8241 MB / 0.5531 GB, free: 10.44 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002986/1.674, allocations: 207.4 kB / 0.5533 GB, free: 10.24 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003569/1.675, allocations: 286.5 kB / 0.5536 GB, free: 9.957 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003336/1.675, allocations: 238.6 kB / 0.5538 GB, free: 9.723 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.419e-05/1.675, allocations: 19.94 kB / 0.5538 GB, free: 9.703 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02391/1.699, allocations: 15.89 MB / 0.5693 GB, free: 9.797 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001554/1.699, allocations: 71.56 kB / 0.5694 GB, free: 9.727 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004302/1.699, allocations: 332 kB / 0.5697 GB, free: 9.395 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01394/1.713, allocations: 7.024 MB / 0.5766 GB, free: 2.355 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/1.713, allocations: 0 / 0.5766 GB, free: 2.355 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.913e-06/1.713, allocations: 0 / 0.5766 GB, free: 2.355 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.225e-05/1.714, allocations: 4 kB / 0.5766 GB, free: 2.352 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 0.004167/1.718, allocations: 1.388 MB / 0.5779 GB, free: 0.9141 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/1.718, allocations: 8.031 kB / 0.5779 GB, free: 0.9062 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001425/1.718, allocations: 115.2 kB / 0.578 GB, free: 0.7852 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.983e-05/1.718, allocations: 68 kB / 0.5781 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003707/1.718, allocations: 314.2 kB / 0.5784 GB, free: 384 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.994e-05/1.718, allocations: 33.38 kB / 0.5784 GB, free: 352 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.076e-05/1.718, allocations: 44.12 kB / 0.5785 GB, free: 308 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009502/1.719, allocations: 0.6815 MB / 0.5791 GB, free: 15.57 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/1.719, allocations: 3.938 kB / 0.5792 GB, free: 15.57 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.399e-05/1.72, allocations: 24 kB / 0.5792 GB, free: 15.54 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.539e-05/1.72, allocations: 35.95 kB / 0.5792 GB, free: 15.51 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006123/1.72, allocations: 451.6 kB / 0.5796 GB, free: 15.07 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.0757/1.796, allocations: 36.42 MB / 0.6152 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000633/1.797, allocations: 367.6 kB / 0.6156 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003372/1.797, allocations: 294.8 kB / 0.6158 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08284/1.88, allocations: 36.72 MB / 0.6517 GB, free: 14.22 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/1.88, allocations: 34.56 kB / 0.6517 GB, free: 14.18 MB / 0.545 GB Notification: Performance of pre-optimization done (n=124): time 2.124e-06/1.88, allocations: 0 / 0.6517 GB, free: 14.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=124): time 0.002362/1.882, allocations: 1.211 MB / 0.6529 GB, free: 12.91 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/1.882, allocations: 55.41 kB / 0.653 GB, free: 12.85 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000387/1.883, allocations: 328.4 kB / 0.6533 GB, free: 12.52 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/1.883, allocations: 29.7 kB / 0.6533 GB, free: 12.49 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/1.883, allocations: 213.4 kB / 0.6535 GB, free: 12.27 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002946/1.883, allocations: 405.7 kB / 0.6539 GB, free: 11.87 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.332e-05/1.883, allocations: 81.67 kB / 0.654 GB, free: 11.79 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000144/1.883, allocations: 374.7 kB / 0.6543 GB, free: 11.41 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003056/1.884, allocations: 221.2 kB / 0.6545 GB, free: 11.2 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003622/1.884, allocations: 327.6 kB / 0.6549 GB, free: 10.84 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007371/1.885, allocations: 0.6136 MB / 0.6555 GB, free: 10.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/1.885, allocations: 4 kB / 0.6555 GB, free: 10.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001113/1.886, allocations: 0.7802 MB / 0.6562 GB, free: 9.406 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/1.886, allocations: 4 kB / 0.6562 GB, free: 9.402 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/1.886, allocations: 4 kB / 0.6562 GB, free: 9.398 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001796/1.888, allocations: 397.6 kB / 0.6566 GB, free: 9.004 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.536e-05/1.888, allocations: 19.98 kB / 0.6566 GB, free: 8.984 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001054/1.889, allocations: 1.285 MB / 0.6579 GB, free: 7.648 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002628/1.889, allocations: 78.81 kB / 0.658 GB, free: 7.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.031e-05/1.889, allocations: 19.94 kB / 0.658 GB, free: 7.551 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 (sinkP1.C.a,sinkP.C.a,sourceP1.C.b,sourceP.C.b,simpleStaticCondenser.Sc.b,simpleStaticCondenser.Sf.b,simpleStaticCondenser.Ef.a,simpleStaticCondenser.Ec.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,3), (2,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002174/1.889, allocations: 175.8 kB / 0.6581 GB, free: 7.371 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.089e-05/1.89, allocations: 55.25 kB / 0.6582 GB, free: 7.316 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003576/1.893, allocations: 4.034 MB / 0.6621 GB, free: 3.102 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001068/1.894, allocations: 0.8196 MB / 0.6629 GB, free: 2.266 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/1.894, allocations: 3.938 kB / 0.6629 GB, free: 2.262 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/1.894, allocations: 3.984 kB / 0.663 GB, free: 2.258 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002864/1.897, allocations: 2.172 MB / 0.6651 GB, free: 20 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/1.897, allocations: 0 / 0.6651 GB, free: 20 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002567/1.897, allocations: 99.94 kB / 0.6652 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00108/1.899, allocations: 302.7 kB / 0.6655 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.015e-05/1.899, allocations: 12 kB / 0.6655 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001003/1.9, allocations: 1.345 MB / 0.6668 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.9, allocations: 80 / 0.6668 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/1.901, allocations: 0.9727 MB / 0.6677 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003135/1.901, allocations: 263.5 kB / 0.668 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.244e-05/1.901, allocations: 16 kB / 0.668 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002369/1.901, allocations: 12 kB / 0.668 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.153e-05/1.902, allocations: 44.53 kB / 0.6681 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.77e-05/1.902, allocations: 23.98 kB / 0.6681 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004664/1.902, allocations: 418.8 kB / 0.6685 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/1.902, allocations: 0 / 0.6685 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002621/1.905, allocations: 0.9915 MB / 0.6694 GB, free: 11.43 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (67): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,4), (2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005872/1.911, allocations: 2.578 MB / 0.672 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001297/1.912, allocations: 0.9988 MB / 0.6729 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/1.912, allocations: 8.188 kB / 0.6729 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005664/1.912, allocations: 408.2 kB / 0.6733 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002148/1.915, allocations: 417.2 kB / 0.6737 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008337/1.923, allocations: 6.065 MB / 0.6797 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005619/1.924, allocations: 0.9868 MB / 0.6806 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003275/1.924, allocations: 76.52 kB / 0.6807 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003054/1.924, allocations: 303.3 kB / 0.681 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of SimCode: time 4.61e-07/1.924, allocations: 4 kB / 0.681 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2422/2.166, allocations: 53.03 MB / 0.7328 GB, free: 208.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001567/2.167, allocations: 251.3 kB / 0.733 GB, free: 208.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.998/6.165, allocations: 3.969 kB / 0.733 GB, free: 208.2 MB / 0.5762 GB (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestSimpleStaticCondenser_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestSimpleStaticCondenser.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe 2>&1)