Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="IDEAS_dev_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.005928/0.005928, allocations: 103.8 kB / 15.73 MB, free: 6.043 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.00122/0.00122, allocations: 189 kB / 16.67 MB, free: 5.961 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7793/0.7793, allocations: 135.1 MB / 425.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 63.27 kB / 0.5851 GB, free: 22.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1694, allocations: 80.93 MB / 0.6642 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.5644/0.7339, allocations: 176 MB / 0.836 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01123/0.7452, allocations: 8.705 MB / 0.8445 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008674/0.7461, allocations: 24.09 kB / 0.8445 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001003/0.7472, allocations: 297 kB / 0.8448 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001113/0.7483, allocations: 305.9 kB / 0.8451 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001345/0.7497, allocations: 379.5 kB / 0.8455 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0016/0.7513, allocations: 1.157 MB / 0.8466 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001049/0.7523, allocations: 0.5781 MB / 0.8472 GB, free: 476 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005172/0.7575, allocations: 2.066 MB / 0.8492 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007338/0.7583, allocations: 354.3 kB / 0.8495 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001209/0.7584, allocations: 39.69 kB / 0.8496 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003416/0.7588, allocations: 76.44 kB / 0.8496 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000322/0.7591, allocations: 261.8 kB / 0.8499 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004569/0.7596, allocations: 284.4 kB / 0.8502 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0009236/0.7605, allocations: 0.6526 MB / 0.8508 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.7605, allocations: 0 / 0.8508 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.433e-06/0.7605, allocations: 0 / 0.8508 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.176e-05/0.7606, allocations: 0 / 0.8508 GB, free: 14.06 MB / 0.6231 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.001365/0.7619, allocations: 0.8291 MB / 0.8516 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.762, allocations: 13.14 kB / 0.8516 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001449/0.7621, allocations: 94.8 kB / 0.8517 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001234/0.7623, allocations: 70.22 kB / 0.8518 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007233/0.763, allocations: 445.7 kB / 0.8522 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.725e-05/0.763, allocations: 43.73 kB / 0.8522 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.02e-05/0.7631, allocations: 51.22 kB / 0.8523 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.7642, allocations: 0.7056 MB / 0.853 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.7642, allocations: 7.875 kB / 0.853 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.647e-05/0.7642, allocations: 27.36 kB / 0.853 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.251e-05/0.7643, allocations: 34.16 kB / 0.853 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006506/0.765, allocations: 372.1 kB / 0.8534 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00263/0.7676, allocations: 3.211 MB / 0.8565 GB, free: 9.117 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002493/0.7679, allocations: 217.2 kB / 0.8567 GB, free: 8.844 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002007/0.7681, allocations: 129.6 kB / 0.8569 GB, free: 8.727 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.083e-05/0.7681, allocations: 4.719 kB / 0.8569 GB, free: 8.727 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.7681, allocations: 52.45 kB / 0.8569 GB, free: 8.668 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.7681, allocations: 2.625 kB / 0.8569 GB, free: 8.668 MB / 0.6231 GB Notification: Performance of matching and sorting (n=10): time 0.0006799/0.7688, allocations: 244.4 kB / 0.8572 GB, free: 8.531 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001396/0.769, allocations: 293.1 kB / 0.8574 GB, free: 8.18 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007041/0.7697, allocations: 0.6873 MB / 0.8581 GB, free: 7.793 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.7697, allocations: 28.52 kB / 0.8581 GB, free: 7.762 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002197/0.7699, allocations: 268.7 kB / 0.8584 GB, free: 7.527 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.37e-05/0.77, allocations: 26.34 kB / 0.8584 GB, free: 7.504 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.312e-05/0.7701, allocations: 33.89 kB / 0.8584 GB, free: 7.477 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.7702, allocations: 373.9 kB / 0.8588 GB, free: 7.117 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.7703, allocations: 36 kB / 0.8588 GB, free: 7.102 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/0.7705, allocations: 99.03 kB / 0.8589 GB, free: 7.023 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002424/0.7708, allocations: 123 kB / 0.859 GB, free: 6.934 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.7708, allocations: 0 / 0.859 GB, free: 6.934 MB / 0.6231 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003382/0.7711, allocations: 198.6 kB / 0.8592 GB, free: 6.816 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.7711, allocations: 4.781 kB / 0.8592 GB, free: 6.816 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.7712, allocations: 2.094 kB / 0.8592 GB, free: 6.816 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.7712, allocations: 2.906 kB / 0.8592 GB, free: 6.816 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/0.7714, allocations: 41.59 kB / 0.8593 GB, free: 6.801 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.7714, allocations: 2.281 kB / 0.8593 GB, free: 6.801 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/0.7716, allocations: 65.39 kB / 0.8593 GB, free: 6.754 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.523e-05/0.7717, allocations: 8.75 kB / 0.8594 GB, free: 6.75 MB / 0.6231 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.0002019/0.7719, allocations: 203.1 kB / 0.8595 GB, free: 6.586 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002311/0.7721, allocations: 59.06 kB / 0.8596 GB, free: 6.555 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.574e-05/0.7722, allocations: 60.69 kB / 0.8597 GB, free: 6.516 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.7722, allocations: 3.188 kB / 0.8597 GB, free: 6.516 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.7722, allocations: 5.062 kB / 0.8597 GB, free: 6.516 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.7722, allocations: 2.625 kB / 0.8597 GB, free: 6.516 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00138/0.7736, allocations: 1.307 MB / 0.861 GB, free: 5.285 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.7736, allocations: 4 kB / 0.861 GB, free: 5.281 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000191/0.7738, allocations: 39.95 kB / 0.861 GB, free: 5.242 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.7738, allocations: 0 / 0.861 GB, free: 5.242 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.7738, allocations: 8 kB / 0.861 GB, free: 5.234 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.754e-06/0.7739, allocations: 8.75 kB / 0.861 GB, free: 5.227 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.7739, allocations: 11.92 kB / 0.861 GB, free: 5.215 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003989/0.7743, allocations: 330.6 kB / 0.8613 GB, free: 4.848 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001901/0.7745, allocations: 152.3 kB / 0.8615 GB, free: 4.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.316e-05/0.7745, allocations: 0 / 0.8615 GB, free: 4.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.7747, allocations: 11.98 kB / 0.8615 GB, free: 4.668 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.818e-05/0.7748, allocations: 23.48 kB / 0.8615 GB, free: 4.648 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.178e-06/0.7748, allocations: 8 kB / 0.8615 GB, free: 4.641 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005845/0.7754, allocations: 0.4951 MB / 0.862 GB, free: 4.152 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7754, allocations: 0 / 0.862 GB, free: 4.152 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004145/0.7758, allocations: 87.84 kB / 0.8621 GB, free: 4.066 MB / 0.6231 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.0009693/0.7768, allocations: 0.9061 MB / 0.863 GB, free: 3.109 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003199/0.7771, allocations: 107.8 kB / 0.8631 GB, free: 3.004 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.7771, allocations: 0 / 0.8631 GB, free: 3.004 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.7773, allocations: 64.22 kB / 0.8631 GB, free: 2.941 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001329/0.7786, allocations: 278.8 kB / 0.8634 GB, free: 2.68 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005555/0.7842, allocations: 4.441 MB / 0.8677 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004936/0.7847, allocations: 0.901 MB / 0.8686 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002723/0.785, allocations: 108.6 kB / 0.8687 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001993/0.7852, allocations: 167.4 kB / 0.8689 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of SimCode: time 4.31e-07/0.7852, allocations: 3.938 kB / 0.8689 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0367/0.8219, allocations: 13.8 MB / 0.8824 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.152/8.974, allocations: 7.922 kB / 0.8824 GB, free: 15.27 MB / 0.6544 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_h.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)