Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCondenser.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.TestStaticCondenser,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCondenser",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestStaticCondenser,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCondenser",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.7977/0.7977, allocations: 150.8 MB / 166.1 MB, free: 15.41 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.601e-05/1.603e-05, allocations: 4 kB / 204.9 MB, free: 9.961 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1323, allocations: 31.97 MB / 236.8 MB, free: 5.383 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.TestStaticCondenser): time 1.529/1.661, allocations: 298.6 MB / 0.5229 GB, free: 9.305 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0626/1.724, allocations: 39.76 MB / 0.5617 GB, free: 1.68 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005565/1.724, allocations: 8 kB / 0.5617 GB, free: 1.672 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000493/1.725, allocations: 226.6 kB / 0.5619 GB, free: 1.449 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008016/1.726, allocations: 416.8 kB / 0.5623 GB, free: 1.039 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02067/1.746, allocations: 7.846 MB / 0.57 GB, free: 9.191 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002084/1.748, allocations: 1.583 MB / 0.5715 GB, free: 7.602 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007624/1.749, allocations: 0.5015 MB / 0.572 GB, free: 7.086 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008368/1.75, allocations: 0.517 MB / 0.5725 GB, free: 6.566 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006303/1.751, allocations: 497.2 kB / 0.573 GB, free: 6.078 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001277/1.751, allocations: 40 kB / 0.573 GB, free: 6.039 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03016/1.781, allocations: 18.74 MB / 0.5913 GB, free: 3.273 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002732/1.781, allocations: 167.1 kB / 0.5915 GB, free: 3.109 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007028/1.782, allocations: 0.6193 MB / 0.5921 GB, free: 2.48 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01967/1.802, allocations: 9.721 MB / 0.6016 GB, free: 8.734 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/1.802, allocations: 0 / 0.6016 GB, free: 8.734 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.505e-06/1.802, allocations: 8 kB / 0.6016 GB, free: 8.727 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.029e-05/1.802, allocations: 0 / 0.6016 GB, free: 8.727 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 389 * Number of variables: 389 Notification: Performance of Generate backend data structure: time 0.005547/1.807, allocations: 2.197 MB / 0.6037 GB, free: 6.473 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/1.807, allocations: 8.031 kB / 0.6037 GB, free: 6.465 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002264/1.808, allocations: 203.7 kB / 0.6039 GB, free: 6.254 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001814/1.808, allocations: 146.2 kB / 0.6041 GB, free: 6.109 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005691/1.808, allocations: 499.6 kB / 0.6046 GB, free: 5.578 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.041e-05/1.808, allocations: 82.03 kB / 0.6046 GB, free: 5.496 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/1.809, allocations: 100 kB / 0.6047 GB, free: 5.398 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001801/1.81, allocations: 1.36 MB / 0.6061 GB, free: 3.926 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/1.81, allocations: 3.938 kB / 0.6061 GB, free: 3.922 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.63e-05/1.811, allocations: 44 kB / 0.6061 GB, free: 3.879 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.056e-05/1.811, allocations: 63.89 kB / 0.6062 GB, free: 3.816 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001248/1.812, allocations: 0.8593 MB / 0.607 GB, free: 2.953 MB / 494.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.02445/1.836, allocations: 15.34 MB / 0.622 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/1.837, allocations: 0.6271 MB / 0.6226 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000646/1.838, allocations: 449.9 kB / 0.623 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.325/2.163, allocations: 81.31 MB / 0.7024 GB, free: 222.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/2.163, allocations: 40.09 kB / 0.7025 GB, free: 222.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=181): time 3.095e-06/2.163, allocations: 0 / 0.7025 GB, free: 222.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=181): time 0.01232/2.175, allocations: 3.49 MB / 0.7059 GB, free: 221.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.135e-05/2.175, allocations: 57.09 kB / 0.7059 GB, free: 221.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006066/2.176, allocations: 0.5979 MB / 0.7065 GB, free: 221.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.004e-05/2.176, allocations: 34.8 kB / 0.7065 GB, free: 221.7 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001918/2.176, allocations: 403.8 kB / 0.7069 GB, free: 221.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002658/2.177, allocations: 0.5811 MB / 0.7075 GB, free: 221.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/2.177, allocations: 142.6 kB / 0.7076 GB, free: 221.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.785e-05/2.177, allocations: 350.5 kB / 0.708 GB, free: 220.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004783/2.177, allocations: 336.5 kB / 0.7083 GB, free: 220.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005497/2.178, allocations: 0.5652 MB / 0.7088 GB, free: 220.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001133/2.179, allocations: 1.016 MB / 0.7098 GB, free: 220.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/2.179, allocations: 2.719 kB / 0.7098 GB, free: 220.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.002355/2.181, allocations: 1.577 MB / 0.7114 GB, free: 220.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/2.181, allocations: 6.188 kB / 0.7114 GB, free: 220.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.241e-05/2.181, allocations: 9.094 kB / 0.7114 GB, free: 220.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003314/2.185, allocations: 1.508 MB / 0.7129 GB, free: 220 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002384/2.185, allocations: 67.22 kB / 0.7129 GB, free: 220 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0039/2.189, allocations: 6.579 MB / 0.7193 GB, free: 214.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005306/2.189, allocations: 151.2 kB / 0.7195 GB, free: 214.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-05/2.19, allocations: 35.91 kB / 0.7195 GB, free: 214.4 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 24 (singularPressureLoss5.C2.b,singularPressureLoss5.C1.a,singularPressureLoss4.C2.b,singularPressureLoss4.C1.a,Puit_condenseur1.C.a,singularPressureLoss3.C2.b,singularPressureLoss3.C1.a,singularPressureLoss2.C2.b,singularPressureLoss2.C1.a,singularPressureLoss1.C2.b,singularPressureLoss1.C1.a,singularPressureLoss.C2.b,singularPressureLoss.C1.a,sourceP2.C.b,sourceP1.C.b,sourceP.C.b,condenseur.Cev.a,condenseur.Cep.a,condenseur.Cvt.a,condenseur.Cex.b,condenseur.Cse.b,condenseur.Cee.a,Puit_condenseur.C.a,Source_condenseur.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 7 systems {(1,3), (1,3), (1,3), (1,3), (1,3), (10,2), (5,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003099/2.19, allocations: 253.8 kB / 0.7198 GB, free: 214.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.914e-05/2.19, allocations: 96.67 kB / 0.7199 GB, free: 214.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003209/2.193, allocations: 3.399 MB / 0.7232 GB, free: 213.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002311/2.195, allocations: 2.057 MB / 0.7252 GB, free: 213.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/2.196, allocations: 0 / 0.7252 GB, free: 213.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.432e-05/2.196, allocations: 15.64 kB / 0.7252 GB, free: 213.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005073/2.201, allocations: 4.697 MB / 0.7298 GB, free: 212.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/2.201, allocations: 0 / 0.7298 GB, free: 212.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005316/2.201, allocations: 203 kB / 0.73 GB, free: 212.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004151/2.205, allocations: 2.173 MB / 0.7321 GB, free: 212.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.429e-05/2.205, allocations: 31.39 kB / 0.7321 GB, free: 212.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002388/2.208, allocations: 3.871 MB / 0.7359 GB, free: 209.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/2.208, allocations: 0 / 0.7359 GB, free: 209.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002405/2.21, allocations: 2.249 MB / 0.7381 GB, free: 208 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003883/2.211, allocations: 343.2 kB / 0.7384 GB, free: 207.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.294e-05/2.211, allocations: 30.81 kB / 0.7385 GB, free: 207.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004369/2.211, allocations: 57.61 kB / 0.7385 GB, free: 207.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/2.211, allocations: 92.19 kB / 0.7386 GB, free: 207.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.212e-05/2.211, allocations: 45.28 kB / 0.7387 GB, free: 207.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003948/2.212, allocations: 443.6 kB / 0.7391 GB, free: 207.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/2.212, allocations: 0 / 0.7391 GB, free: 207.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002967/2.215, allocations: 1.533 MB / 0.7406 GB, free: 207 MB / 0.5762 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 (130): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,3), (1,3), (10,2), (11,27)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006603/2.221, allocations: 4.552 MB / 0.745 GB, free: 203.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002838/2.224, allocations: 2.39 MB / 0.7474 GB, free: 200.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/2.224, allocations: 0 / 0.7474 GB, free: 200.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001604/2.226, allocations: 1.238 MB / 0.7486 GB, free: 199.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002956/2.229, allocations: 0.6291 MB / 0.7492 GB, free: 199 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01153/2.24, allocations: 10.88 MB / 0.7598 GB, free: 187.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000537/2.241, allocations: 1.341 MB / 0.7611 GB, free: 186.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004559/2.241, allocations: 128.6 kB / 0.7612 GB, free: 186.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004333/2.242, allocations: 0.6282 MB / 0.7618 GB, free: 185.8 MB / 0.5762 GB Notification: Performance of SimCode: time 5.41e-07/2.242, allocations: 0 / 0.7618 GB, free: 185.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09342/2.335, allocations: 80.94 MB / 0.8409 GB, free: 106.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001407/2.335, allocations: 246.6 kB / 0.8411 GB, free: 106 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.9/7.236, allocations: 0 / 0.8411 GB, free: 106 MB / 0.5762 GB (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCondenser.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCondenser.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCondenser.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCondenser.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCondenser_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestStaticCondenser.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticCondenser.pipe 2>&1)