Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.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.TestDiaphragm,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestDiaphragm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoSysPro.Examples.SimpleExamples.TestDiaphragm,fileNamePrefix="ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestDiaphragm",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.8133/0.8133, allocations: 150.8 MB / 166.1 MB, free: 15.42 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.595e-05/1.605e-05, allocations: 4 kB / 204.9 MB, free: 9.957 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1417, allocations: 31.98 MB / 236.8 MB, free: 5.184 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.TestDiaphragm): time 1.522/1.663, allocations: 294.6 MB / 0.519 GB, free: 13.19 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0392/1.703, allocations: 37.24 MB / 0.5553 GB, free: 8.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/1.703, allocations: 0 / 0.5553 GB, free: 8.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002628/1.703, allocations: 87.55 kB / 0.5554 GB, free: 8.004 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001606/1.703, allocations: 71.44 kB / 0.5555 GB, free: 7.934 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01788/1.721, allocations: 7.367 MB / 0.5627 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004157/1.721, allocations: 334.8 kB / 0.563 GB, free: 240 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/1.722, allocations: 100.3 kB / 0.5631 GB, free: 140 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001806/1.722, allocations: 123.4 kB / 0.5632 GB, free: 16 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/1.722, allocations: 99.58 kB / 0.5633 GB, free: 15.91 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/1.722, allocations: 8 kB / 0.5633 GB, free: 15.91 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02709/1.749, allocations: 17.87 MB / 0.5808 GB, free: 14.02 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.676e-05/1.749, allocations: 43.77 kB / 0.5808 GB, free: 13.97 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001971/1.749, allocations: 145 kB / 0.5809 GB, free: 13.82 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0178/1.767, allocations: 8.401 MB / 0.5891 GB, free: 5.402 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/1.767, allocations: 3.938 kB / 0.5891 GB, free: 5.398 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.604e-06/1.767, allocations: 0 / 0.5891 GB, free: 5.398 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/1.767, allocations: 0 / 0.5891 GB, free: 5.398 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.003717/1.771, allocations: 1.404 MB / 0.5905 GB, free: 3.941 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/1.771, allocations: 8.031 kB / 0.5905 GB, free: 3.934 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.944e-05/1.771, allocations: 66.53 kB / 0.5906 GB, free: 3.859 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.02e-05/1.771, allocations: 27.62 kB / 0.5906 GB, free: 3.832 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/1.771, allocations: 230.5 kB / 0.5908 GB, free: 3.566 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/1.771, allocations: 24.44 kB / 0.5909 GB, free: 3.543 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.868e-05/1.772, allocations: 16 kB / 0.5909 GB, free: 3.527 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004198/1.772, allocations: 317 kB / 0.5912 GB, free: 3.188 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/1.772, allocations: 0 / 0.5912 GB, free: 3.188 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.398e-05/1.772, allocations: 16 kB / 0.5912 GB, free: 3.172 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/1.772, allocations: 15.98 kB / 0.5912 GB, free: 3.156 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002475/1.772, allocations: 173 kB / 0.5914 GB, free: 2.988 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.03556/1.808, allocations: 18.18 MB / 0.6091 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004287/1.808, allocations: 154.5 kB / 0.6093 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.896e-05/1.808, allocations: 88.84 kB / 0.6094 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1483/1.957, allocations: 78.13 MB / 0.6857 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/1.957, allocations: 32.58 kB / 0.6857 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 1.973e-06/1.957, allocations: 0 / 0.6857 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34): time 0.0008687/1.958, allocations: 427.4 kB / 0.6861 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/1.958, allocations: 81.11 kB / 0.6862 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002253/1.958, allocations: 223.1 kB / 0.6864 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/1.958, allocations: 25.7 kB / 0.6864 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.383e-05/1.958, allocations: 152.4 kB / 0.6866 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.572e-05/1.958, allocations: 110.3 kB / 0.6867 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.32e-05/1.958, allocations: 33.7 kB / 0.6867 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001045/1.958, allocations: 338.8 kB / 0.687 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/1.958, allocations: 71.97 kB / 0.6871 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/1.959, allocations: 130 kB / 0.6872 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002757/1.959, allocations: 225.6 kB / 0.6874 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/1.959, allocations: 4 kB / 0.6874 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004526/1.959, allocations: 309.8 kB / 0.6877 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/1.959, allocations: 4 kB / 0.6877 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/1.959, allocations: 8.156 kB / 0.6877 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009982/1.96, allocations: 164.6 kB / 0.6879 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.564e-05/1.96, allocations: 12 kB / 0.6879 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004894/1.961, allocations: 0.6109 MB / 0.6885 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001537/1.961, allocations: 35.78 kB / 0.6885 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/1.961, allocations: 4 kB / 0.6885 GB, free: 4.637 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 4 (Diaphragm.C2.b,Diaphragm.C1.a,PuitsP1.C.a,SourceP1.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001308/1.961, allocations: 141.7 kB / 0.6887 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.398e-05/1.961, allocations: 19.72 kB / 0.6887 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008945/1.962, allocations: 0.6105 MB / 0.6893 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005301/1.963, allocations: 230.3 kB / 0.6895 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/1.963, allocations: 3.938 kB / 0.6895 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/1.963, allocations: 0 / 0.6895 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/1.964, allocations: 0.7444 MB / 0.6902 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/1.964, allocations: 0 / 0.6902 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.26e-05/1.964, allocations: 20 kB / 0.6903 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006813/1.965, allocations: 148.7 kB / 0.6904 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/1.965, allocations: 8.984 kB / 0.6904 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004427/1.965, allocations: 0.6355 MB / 0.691 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.965, allocations: 0 / 0.691 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006189/1.966, allocations: 345.9 kB / 0.6914 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/1.966, allocations: 144.5 kB / 0.6915 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.778e-05/1.966, allocations: 4 kB / 0.6915 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/1.966, allocations: 4 kB / 0.6915 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.645e-05/1.966, allocations: 11.98 kB / 0.6915 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/1.966, allocations: 4 kB / 0.6915 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002304/1.966, allocations: 237.9 kB / 0.6917 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/1.966, allocations: 4 kB / 0.6918 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.1511/2.117, allocations: 1.205 MB / 0.6929 GB, free: 227.8 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 (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006285/2.124, allocations: 2.574 MB / 0.6954 GB, free: 227.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005678/2.124, allocations: 255 kB / 0.6957 GB, free: 227 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/2.124, allocations: 0 / 0.6957 GB, free: 227 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000244/2.125, allocations: 94.8 kB / 0.6958 GB, free: 227 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007854/2.125, allocations: 117.9 kB / 0.6959 GB, free: 227 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003963/2.129, allocations: 3.184 MB / 0.699 GB, free: 225.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000178/2.13, allocations: 0.7679 MB / 0.6997 GB, free: 224.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001436/2.13, allocations: 25.72 kB / 0.6998 GB, free: 224.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.713e-05/2.13, allocations: 94.5 kB / 0.6999 GB, free: 224.8 MB / 0.5762 GB Notification: Performance of SimCode: time 4.51e-07/2.13, allocations: 0 / 0.6999 GB, free: 224.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05984/2.19, allocations: 47.11 MB / 0.7459 GB, free: 199.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001259/2.19, allocations: 226.4 kB / 0.7461 GB, free: 198.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.725/5.915, allocations: 6.531 kB / 0.7461 GB, free: 198.9 MB / 0.5762 GB (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestDiaphragm_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 ThermoSysPro_ThermoSysPro_Examples_SimpleExamples_TestDiaphragm.fmu > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDiaphragm.pipe 2>&1)