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.007415/0.007415, allocations: 97.62 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.001713/0.001713, allocations: 201.7 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7282/0.7282, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 67.27 kB / 0.5809 GB, free: 1.105 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1501, 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.5676/0.7178, allocations: 176 MB / 0.831 GB, free: 2.844 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.008872/0.7267, allocations: 8.715 MB / 0.8396 GB, free: 2.719 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008209/0.7276, allocations: 23.06 kB / 0.8396 GB, free: 2.719 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0007301/0.7284, allocations: 298 kB / 0.8399 GB, free: 2.719 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0007752/0.7291, allocations: 323 kB / 0.8402 GB, free: 2.707 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.7302, allocations: 378 kB / 0.8405 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001066/0.7313, allocations: 1.149 MB / 0.8416 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007296/0.732, allocations: 0.5943 MB / 0.8422 GB, free: 2.66 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004603/0.7366, allocations: 2.127 MB / 0.8443 GB, free: 2.602 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004671/0.7371, allocations: 356 kB / 0.8446 GB, free: 2.598 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 6.789e-05/0.7372, allocations: 40.78 kB / 0.8447 GB, free: 2.598 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000219/0.7374, allocations: 77.8 kB / 0.8448 GB, free: 2.598 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002172/0.7376, allocations: 260.9 kB / 0.845 GB, free: 2.594 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002728/0.7379, allocations: 287.2 kB / 0.8453 GB, free: 2.594 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0006501/0.7386, allocations: 0.6518 MB / 0.8459 GB, free: 2.555 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.7386, allocations: 0 / 0.8459 GB, free: 2.555 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7386, allocations: 0 / 0.8459 GB, free: 2.555 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.7386, allocations: 3.656 kB / 0.8459 GB, free: 2.555 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.0008525/0.7395, allocations: 0.8387 MB / 0.8467 GB, free: 2.004 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.7395, allocations: 8 kB / 0.8467 GB, free: 2.004 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.771e-05/0.7396, allocations: 94.09 kB / 0.8468 GB, free: 1.965 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.96e-05/0.7397, allocations: 68.33 kB / 0.8469 GB, free: 1.93 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006051/0.7403, allocations: 457.9 kB / 0.8473 GB, free: 1.672 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.255e-05/0.7403, allocations: 43.55 kB / 0.8474 GB, free: 1.672 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.344e-05/0.7404, allocations: 54.55 kB / 0.8474 GB, free: 1.672 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008335/0.7413, allocations: 0.6995 MB / 0.8481 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.7413, allocations: 5.719 kB / 0.8481 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.112e-05/0.7413, allocations: 24.3 kB / 0.8481 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.601e-05/0.7414, allocations: 34.56 kB / 0.8482 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005388/0.7419, allocations: 372.5 kB / 0.8485 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00221/0.7441, allocations: 3.22 MB / 0.8517 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001958/0.7443, allocations: 220.4 kB / 0.8519 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000157/0.7445, allocations: 130.7 kB / 0.852 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.7445, allocations: 7.391 kB / 0.852 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.7446, allocations: 44.41 kB / 0.8521 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=10): time 1.913e-06/0.7446, allocations: 0.9062 kB / 0.8521 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10): time 0.0006465/0.7452, allocations: 250.4 kB / 0.8523 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001303/0.7454, allocations: 292.8 kB / 0.8526 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006539/0.746, allocations: 0.6864 MB / 0.8533 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.7461, allocations: 27.02 kB / 0.8533 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/0.7462, allocations: 268 kB / 0.8535 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.392e-05/0.7463, allocations: 37.44 kB / 0.8536 GB, free: 14 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.946e-05/0.7463, allocations: 36.34 kB / 0.8536 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.7465, allocations: 377.6 kB / 0.854 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.7466, allocations: 38.09 kB / 0.854 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/0.7468, allocations: 96.11 kB / 0.8541 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002207/0.747, allocations: 124.3 kB / 0.8542 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.747, allocations: 0 / 0.8542 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003121/0.7473, allocations: 197.5 kB / 0.8544 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.7473, allocations: 5.594 kB / 0.8544 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.7474, allocations: 2.125 kB / 0.8544 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.7474, allocations: 4.219 kB / 0.8544 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002117/0.7476, allocations: 40.73 kB / 0.8544 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.7476, allocations: 0 / 0.8544 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002048/0.7478, allocations: 64.7 kB / 0.8545 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.7479, allocations: 11.8 kB / 0.8545 GB, free: 13.46 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.0001869/0.748, allocations: 199.4 kB / 0.8547 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002072/0.7483, allocations: 62.97 kB / 0.8548 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.587e-05/0.7483, allocations: 60.66 kB / 0.8548 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.7484, allocations: 3.594 kB / 0.8548 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.7484, allocations: 2.094 kB / 0.8548 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.106e-06/0.7484, allocations: 10.06 kB / 0.8548 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/0.7497, allocations: 1.303 MB / 0.8561 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.7497, allocations: 1.094 kB / 0.8561 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001865/0.7499, allocations: 44.19 kB / 0.8562 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.7499, allocations: 3.406 kB / 0.8562 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.7499, allocations: 2.938 kB / 0.8562 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.75, allocations: 3.875 kB / 0.8562 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.75, allocations: 6.062 kB / 0.8562 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003882/0.7504, allocations: 340.5 kB / 0.8565 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001583/0.7505, allocations: 156.8 kB / 0.8566 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.864e-05/0.7506, allocations: 9.422 kB / 0.8567 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.7508, allocations: 10.45 kB / 0.8567 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.214e-05/0.7508, allocations: 19.19 kB / 0.8567 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.7508, allocations: 4.406 kB / 0.8567 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000465/0.7513, allocations: 0.4986 MB / 0.8572 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7513, allocations: 0.9688 kB / 0.8572 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003718/0.7517, allocations: 81.91 kB / 0.8573 GB, free: 11.86 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.0008408/0.7525, allocations: 0.911 MB / 0.8581 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002818/0.7528, allocations: 107.3 kB / 0.8582 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.7528, allocations: 0.9375 kB / 0.8583 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.753, allocations: 65.08 kB / 0.8583 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/0.7542, allocations: 281.7 kB / 0.8586 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004608/0.7588, allocations: 4.451 MB / 0.8629 GB, free: 9.32 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004251/0.7593, allocations: 0.9116 MB / 0.8638 GB, free: 8.621 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002681/0.7595, allocations: 113.1 kB / 0.8639 GB, free: 8.605 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000168/0.7597, allocations: 171.5 kB / 0.8641 GB, free: 8.598 MB / 0.6544 GB Notification: Performance of SimCode: time 6.02e-07/0.7597, allocations: 0 / 0.8641 GB, free: 8.598 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02924/0.789, allocations: 13.58 MB / 0.8774 GB, free: 6.773 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.134/8.923, allocations: 10.84 kB / 0.8774 GB, free: 6.766 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 & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_Sources_Examples_PropertySource_h.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)