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.005795/0.005795, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001259/0.001259, allocations: 194.2 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8247/0.8247, allocations: 135.6 MB / 426.1 MB, free: 3.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 77.08 kB / 0.5857 GB, free: 21.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1529, allocations: 81.02 MB / 0.6649 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.5238/0.6767, allocations: 176 MB / 0.8367 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01018/0.687, allocations: 8.703 MB / 0.8452 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008262/0.6879, allocations: 20.72 kB / 0.8452 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008189/0.6887, allocations: 301 kB / 0.8455 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007496/0.6895, allocations: 309.2 kB / 0.8458 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.6905, allocations: 378.9 kB / 0.8462 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001277/0.6918, allocations: 1.149 MB / 0.8473 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008189/0.6926, allocations: 0.5865 MB / 0.8479 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004815/0.6974, allocations: 2.059 MB / 0.8499 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000511/0.698, allocations: 346.5 kB / 0.8502 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 6.916e-05/0.698, allocations: 47.53 kB / 0.8503 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000242/0.6983, allocations: 88.5 kB / 0.8503 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002476/0.6985, allocations: 253.9 kB / 0.8506 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003045/0.6989, allocations: 284.3 kB / 0.8509 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0007772/0.6996, allocations: 0.6501 MB / 0.8515 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.6996, allocations: 0 / 0.8515 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.492e-06/0.6997, allocations: 0 / 0.8515 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.909e-06/0.6997, allocations: 0 / 0.8515 GB, free: 13.16 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.001049/0.7007, allocations: 0.8421 MB / 0.8523 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.7008, allocations: 15.17 kB / 0.8523 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001085/0.7009, allocations: 102.6 kB / 0.8524 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.79e-05/0.701, allocations: 67.55 kB / 0.8525 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000644/0.7016, allocations: 443.1 kB / 0.8529 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.451e-05/0.7017, allocations: 39.84 kB / 0.853 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.966e-05/0.7018, allocations: 55.2 kB / 0.853 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009597/0.7027, allocations: 0.7115 MB / 0.8537 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.7028, allocations: 3.938 kB / 0.8537 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.432e-05/0.7028, allocations: 27.14 kB / 0.8537 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.627e-05/0.7029, allocations: 34.48 kB / 0.8538 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005853/0.7034, allocations: 381.6 kB / 0.8541 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002593/0.7061, allocations: 3.216 MB / 0.8573 GB, free: 8.184 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002786/0.7063, allocations: 218.8 kB / 0.8575 GB, free: 7.906 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001878/0.7065, allocations: 127.9 kB / 0.8576 GB, free: 7.793 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.7066, allocations: 6.578 kB / 0.8576 GB, free: 7.789 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/0.7066, allocations: 51.62 kB / 0.8577 GB, free: 7.734 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=10): time 2.064e-06/0.7066, allocations: 0 / 0.8577 GB, free: 7.734 MB / 0.6231 GB Notification: Performance of matching and sorting (n=10): time 0.0006695/0.7073, allocations: 250.9 kB / 0.8579 GB, free: 7.594 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001524/0.7075, allocations: 289.7 kB / 0.8582 GB, free: 7.246 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007021/0.7082, allocations: 0.6873 MB / 0.8588 GB, free: 6.863 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.7082, allocations: 25.7 kB / 0.8589 GB, free: 6.832 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002243/0.7084, allocations: 268.9 kB / 0.8591 GB, free: 6.598 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.099e-05/0.7085, allocations: 45.33 kB / 0.8592 GB, free: 6.559 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.656e-05/0.7085, allocations: 23.81 kB / 0.8592 GB, free: 6.539 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001805/0.7087, allocations: 372.1 kB / 0.8595 GB, free: 6.184 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.7088, allocations: 36.03 kB / 0.8596 GB, free: 6.168 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001674/0.709, allocations: 102.9 kB / 0.8597 GB, free: 6.086 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002428/0.7093, allocations: 123.5 kB / 0.8598 GB, free: 5.996 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.7093, allocations: 0 / 0.8598 GB, free: 5.996 MB / 0.6231 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003358/0.7096, allocations: 195.8 kB / 0.86 GB, free: 5.879 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.7096, allocations: 11.72 kB / 0.86 GB, free: 5.875 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.7097, allocations: 0 / 0.86 GB, free: 5.875 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.7097, allocations: 2.219 kB / 0.86 GB, free: 5.875 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.7099, allocations: 44.2 kB / 0.86 GB, free: 5.859 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.7099, allocations: 3.938 kB / 0.86 GB, free: 5.855 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000207/0.7101, allocations: 56.97 kB / 0.8601 GB, free: 5.816 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/0.7102, allocations: 12.53 kB / 0.8601 GB, free: 5.812 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.00019/0.7103, allocations: 192.2 kB / 0.8603 GB, free: 5.656 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001991/0.7106, allocations: 69.36 kB / 0.8604 GB, free: 5.617 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001029/0.7107, allocations: 61.95 kB / 0.8604 GB, free: 5.578 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.7107, allocations: 10.73 kB / 0.8604 GB, free: 5.57 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.7107, allocations: 2.188 kB / 0.8604 GB, free: 5.57 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.7107, allocations: 2.594 kB / 0.8604 GB, free: 5.57 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00144/0.7121, allocations: 1.304 MB / 0.8617 GB, free: 4.238 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.7122, allocations: 9.359 kB / 0.8617 GB, free: 4.23 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001865/0.7123, allocations: 35.97 kB / 0.8617 GB, free: 4.195 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.7124, allocations: 192 / 0.8617 GB, free: 4.195 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.7124, allocations: 7.984 kB / 0.8618 GB, free: 4.188 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.7124, allocations: 12.16 kB / 0.8618 GB, free: 4.176 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.7124, allocations: 11.94 kB / 0.8618 GB, free: 4.164 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004117/0.7128, allocations: 334.8 kB / 0.8621 GB, free: 3.793 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001947/0.713, allocations: 152.7 kB / 0.8622 GB, free: 3.625 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.292e-05/0.7131, allocations: 4 kB / 0.8622 GB, free: 3.621 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.7132, allocations: 13.05 kB / 0.8623 GB, free: 3.609 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.943e-05/0.7133, allocations: 23.86 kB / 0.8623 GB, free: 3.586 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.148e-06/0.7133, allocations: 4 kB / 0.8623 GB, free: 3.582 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005558/0.7139, allocations: 0.4951 MB / 0.8628 GB, free: 3.094 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7139, allocations: 0 / 0.8628 GB, free: 3.094 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003803/0.7143, allocations: 83.88 kB / 0.8629 GB, free: 3.012 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.0009361/0.7152, allocations: 0.9014 MB / 0.8637 GB, free: 2.059 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000314/0.7155, allocations: 103.8 kB / 0.8638 GB, free: 1.957 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.7156, allocations: 0 / 0.8638 GB, free: 1.957 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001451/0.7157, allocations: 59.91 kB / 0.8639 GB, free: 1.898 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/0.717, allocations: 286.5 kB / 0.8642 GB, free: 1.625 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005491/0.7225, allocations: 4.47 MB / 0.8685 GB, free: 12.99 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005291/0.723, allocations: 0.9089 MB / 0.8694 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002736/0.7233, allocations: 104.6 kB / 0.8695 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002018/0.7235, allocations: 163.4 kB / 0.8697 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of SimCode: time 6.71e-07/0.7235, allocations: 4 kB / 0.8697 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03824/0.7618, allocations: 13.59 MB / 0.8829 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.48/9.241, allocations: 10.5 kB / 0.883 GB, free: 14.38 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_h.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)