Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_PropertySource_h",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.005314/0.005314, allocations: 99.05 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 197.4 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7781/0.7781, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001798/0.001798, allocations: 64.2 kB / 0.5809 GB, free: 1.109 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1445, allocations: 80.21 MB / 0.6592 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.5295/0.6741, allocations: 176 MB / 0.831 GB, free: 2.82 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.008356/0.6825, allocations: 8.716 MB / 0.8395 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007353/0.6832, allocations: 23 kB / 0.8396 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006943/0.684, allocations: 298.3 kB / 0.8399 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0006647/0.6847, allocations: 306 kB / 0.8401 GB, free: 2.688 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008961/0.6856, allocations: 374.1 kB / 0.8405 GB, free: 2.68 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001013/0.6866, allocations: 1.151 MB / 0.8416 GB, free: 2.676 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006935/0.6873, allocations: 0.5941 MB / 0.8422 GB, free: 2.637 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004278/0.6916, allocations: 2.061 MB / 0.8442 GB, free: 2.578 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004483/0.692, allocations: 352.8 kB / 0.8446 GB, free: 2.574 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 7.047e-05/0.6921, allocations: 40.97 kB / 0.8446 GB, free: 2.574 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002248/0.6923, allocations: 79.41 kB / 0.8447 GB, free: 2.574 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002203/0.6926, allocations: 257.3 kB / 0.8449 GB, free: 2.57 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002627/0.6928, allocations: 285 kB / 0.8452 GB, free: 2.57 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0006001/0.6935, allocations: 0.6539 MB / 0.8458 GB, free: 2.531 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.6935, allocations: 3.188 kB / 0.8458 GB, free: 2.531 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6935, allocations: 0 / 0.8458 GB, free: 2.531 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.276e-06/0.6935, allocations: 0.8125 kB / 0.8458 GB, free: 2.531 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.000825/0.6943, allocations: 0.8318 MB / 0.8466 GB, free: 1.98 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.6944, allocations: 11.47 kB / 0.8467 GB, free: 1.98 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.081e-05/0.6944, allocations: 100.9 kB / 0.8468 GB, free: 1.941 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.532e-05/0.6945, allocations: 71.55 kB / 0.8468 GB, free: 1.906 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005122/0.6951, allocations: 451.8 kB / 0.8473 GB, free: 1.652 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.732e-05/0.6951, allocations: 39.53 kB / 0.8473 GB, free: 1.652 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.007e-05/0.6951, allocations: 53.88 kB / 0.8473 GB, free: 1.652 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007873/0.6959, allocations: 0.6982 MB / 0.848 GB, free: 1.41 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.696, allocations: 5.719 kB / 0.848 GB, free: 1.41 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.864e-05/0.696, allocations: 24.72 kB / 0.8481 GB, free: 1.41 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-05/0.6961, allocations: 32.64 kB / 0.8481 GB, free: 1.41 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000523/0.6966, allocations: 374.1 kB / 0.8484 GB, free: 1.406 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002135/0.6987, allocations: 3.223 MB / 0.8516 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001838/0.6989, allocations: 222.8 kB / 0.8518 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/0.6991, allocations: 123.3 kB / 0.8519 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.6991, allocations: 9.938 kB / 0.8519 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.6991, allocations: 47.86 kB / 0.852 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.6992, allocations: 0.7812 kB / 0.852 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0006249/0.6998, allocations: 250.5 kB / 0.8522 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001681/0.7, allocations: 290.4 kB / 0.8525 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006146/0.7006, allocations: 0.6887 MB / 0.8532 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.7006, allocations: 28.48 kB / 0.8532 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.7008, allocations: 270.5 kB / 0.8534 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.464e-05/0.7008, allocations: 38.66 kB / 0.8535 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.169e-05/0.7009, allocations: 31.86 kB / 0.8535 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.7011, allocations: 374.6 kB / 0.8539 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.7012, allocations: 38.42 kB / 0.8539 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/0.7013, allocations: 97.12 kB / 0.854 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002271/0.7016, allocations: 130.8 kB / 0.8541 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.7016, allocations: 0 / 0.8541 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003103/0.7019, allocations: 190.6 kB / 0.8543 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.7019, allocations: 6.281 kB / 0.8543 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.7019, allocations: 2.562 kB / 0.8543 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.702, allocations: 7.312 kB / 0.8543 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002038/0.7022, allocations: 42.53 kB / 0.8544 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.7022, allocations: 2.875 kB / 0.8544 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.7024, allocations: 58.89 kB / 0.8544 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/0.7024, allocations: 9.562 kB / 0.8544 GB, free: 13.44 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001806/0.7026, allocations: 202.9 kB / 0.8546 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002042/0.7028, allocations: 60.75 kB / 0.8547 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.239e-05/0.7029, allocations: 58.84 kB / 0.8547 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.7029, allocations: 4.156 kB / 0.8547 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.7029, allocations: 5.031 kB / 0.8547 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.7029, allocations: 10.75 kB / 0.8548 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/0.7042, allocations: 1.298 MB / 0.856 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.7042, allocations: 2.625 kB / 0.856 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.7044, allocations: 44.78 kB / 0.8561 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.7044, allocations: 4.156 kB / 0.8561 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.7044, allocations: 2.438 kB / 0.8561 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.7045, allocations: 9.625 kB / 0.8561 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.7045, allocations: 2.781 kB / 0.8561 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003793/0.7048, allocations: 337.8 kB / 0.8564 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/0.705, allocations: 151.7 kB / 0.8566 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.252e-05/0.7051, allocations: 8.906 kB / 0.8566 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.7052, allocations: 7.141 kB / 0.8566 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.106e-05/0.7053, allocations: 18.97 kB / 0.8566 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.7053, allocations: 6.656 kB / 0.8566 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004266/0.7057, allocations: 0.4931 MB / 0.8571 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7057, allocations: 2.594 kB / 0.8571 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000354/0.7061, allocations: 87.12 kB / 0.8572 GB, free: 11.84 MB / 0.6544 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000859/0.7069, allocations: 0.9196 MB / 0.8581 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002741/0.7072, allocations: 105.3 kB / 0.8582 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.7072, allocations: 3.375 kB / 0.8582 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.7074, allocations: 63.33 kB / 0.8582 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001194/0.7086, allocations: 275.7 kB / 0.8585 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004666/0.7132, allocations: 4.459 MB / 0.8628 GB, free: 9.293 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005683/0.7138, allocations: 0.9081 MB / 0.8637 GB, free: 8.594 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002895/0.7141, allocations: 111.1 kB / 0.8638 GB, free: 8.578 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001711/0.7143, allocations: 170.8 kB / 0.864 GB, free: 8.57 MB / 0.6544 GB Notification: Performance of SimCode: time 7.71e-07/0.7143, allocations: 0.875 kB / 0.864 GB, free: 8.57 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4043/1.119, allocations: 13.58 MB / 0.8773 GB, free: 6.738 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.12/10.24, allocations: 7.484 kB / 0.8773 GB, free: 6.734 MB / 0.6544 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sources_Examples_PropertySource_h.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)