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.007353/0.007353, allocations: 100.9 kB / 15.73 MB, free: 6 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.001602/0.001602, allocations: 189.1 kB / 16.67 MB, free: 5.934 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9505/0.9505, allocations: 135.1 MB / 425.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 71.89 kB / 0.5851 GB, free: 3.848 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4059/0.4072, allocations: 80.91 MB / 0.6642 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_h): time 0.1869/0.5941, allocations: 176 MB / 0.836 GB, free: 0.9492 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.009481/0.6036, allocations: 8.702 MB / 0.8445 GB, free: 8.227 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007956/0.6045, allocations: 23.81 kB / 0.8446 GB, free: 8.203 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0007927/0.6053, allocations: 301.8 kB / 0.8448 GB, free: 7.906 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0007369/0.6061, allocations: 322.4 kB / 0.8451 GB, free: 7.59 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.6071, allocations: 381.5 kB / 0.8455 GB, free: 7.219 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001123/0.6082, allocations: 1.156 MB / 0.8466 GB, free: 6.059 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007345/0.609, allocations: 0.5916 MB / 0.8472 GB, free: 5.465 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004357/0.6133, allocations: 2.129 MB / 0.8493 GB, free: 3.328 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004183/0.6138, allocations: 354.4 kB / 0.8496 GB, free: 2.98 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 6.104e-05/0.6138, allocations: 40 kB / 0.8497 GB, free: 2.941 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002049/0.614, allocations: 83.94 kB / 0.8498 GB, free: 2.859 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002294/0.6143, allocations: 247.4 kB / 0.85 GB, free: 2.617 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.000258/0.6145, allocations: 290.5 kB / 0.8503 GB, free: 2.332 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0006915/0.6152, allocations: 0.651 MB / 0.8509 GB, free: 1.68 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.6153, allocations: 0 / 0.8509 GB, free: 1.68 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.685e-06/0.6153, allocations: 0 / 0.8509 GB, free: 1.68 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.135e-06/0.6153, allocations: 3.938 kB / 0.8509 GB, free: 1.676 MB / 0.67 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.0009934/0.6163, allocations: 0.8372 MB / 0.8517 GB, free: 0.7852 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.6163, allocations: 12.03 kB / 0.8517 GB, free: 0.7734 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.012e-05/0.6164, allocations: 98.5 kB / 0.8518 GB, free: 0.668 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.118e-05/0.6165, allocations: 63.62 kB / 0.8519 GB, free: 0.6055 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006926/0.6172, allocations: 458.4 kB / 0.8523 GB, free: 120 kB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.206e-05/0.6173, allocations: 37.31 kB / 0.8524 GB, free: 84 kB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.519e-05/0.6173, allocations: 55.92 kB / 0.8524 GB, free: 28 kB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009705/0.6183, allocations: 0.6988 MB / 0.8531 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.6183, allocations: 7.938 kB / 0.8531 GB, free: 15.24 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.048e-05/0.6184, allocations: 20 kB / 0.8531 GB, free: 15.22 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.662e-05/0.6184, allocations: 35.92 kB / 0.8532 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006062/0.6191, allocations: 383.3 kB / 0.8535 GB, free: 14.81 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002406/0.6215, allocations: 3.224 MB / 0.8567 GB, free: 11.44 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002447/0.6217, allocations: 214.2 kB / 0.8569 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001924/0.6219, allocations: 140.4 kB / 0.857 GB, free: 10.97 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/0.6219, allocations: 4 kB / 0.857 GB, free: 10.97 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.622, allocations: 46.5 kB / 0.8571 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=10): time 1.322e-06/0.622, allocations: 0 / 0.8571 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of matching and sorting (n=10): time 0.0006732/0.6227, allocations: 246.2 kB / 0.8573 GB, free: 10.67 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/0.6228, allocations: 298.7 kB / 0.8576 GB, free: 10.31 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007132/0.6235, allocations: 0.6838 MB / 0.8582 GB, free: 9.613 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.6235, allocations: 29.7 kB / 0.8583 GB, free: 9.578 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/0.6237, allocations: 264.3 kB / 0.8585 GB, free: 9.316 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.394e-05/0.6238, allocations: 36.02 kB / 0.8586 GB, free: 9.281 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.326e-05/0.6238, allocations: 33.7 kB / 0.8586 GB, free: 9.242 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.624, allocations: 370.8 kB / 0.8589 GB, free: 8.871 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.6241, allocations: 35.91 kB / 0.859 GB, free: 8.836 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001563/0.6243, allocations: 97.03 kB / 0.8591 GB, free: 8.723 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002469/0.6245, allocations: 129 kB / 0.8592 GB, free: 8.578 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.6245, allocations: 0 / 0.8592 GB, free: 8.578 MB / 0.6856 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003402/0.6249, allocations: 197.1 kB / 0.8594 GB, free: 8.379 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.6249, allocations: 4 kB / 0.8594 GB, free: 8.375 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.6249, allocations: 4 kB / 0.8594 GB, free: 8.371 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.6249, allocations: 0 / 0.8594 GB, free: 8.371 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/0.6252, allocations: 47.89 kB / 0.8594 GB, free: 8.324 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.6252, allocations: 4.188 kB / 0.8594 GB, free: 8.32 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001994/0.6254, allocations: 59.5 kB / 0.8595 GB, free: 8.262 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.6254, allocations: 4 kB / 0.8595 GB, free: 8.258 MB / 0.6856 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.0001999/0.6256, allocations: 209.7 kB / 0.8597 GB, free: 8.043 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002167/0.6259, allocations: 63.56 kB / 0.8598 GB, free: 7.98 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.534e-05/0.6259, allocations: 56.33 kB / 0.8598 GB, free: 7.922 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.6259, allocations: 4 kB / 0.8598 GB, free: 7.918 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.626, allocations: 4 kB / 0.8598 GB, free: 7.914 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.626, allocations: 0 / 0.8598 GB, free: 7.914 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001325/0.6273, allocations: 1.308 MB / 0.8611 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.6273, allocations: 0 / 0.8611 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001911/0.6275, allocations: 44.14 kB / 0.8611 GB, free: 6.473 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.6275, allocations: 4 kB / 0.8611 GB, free: 6.469 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.6275, allocations: 11.88 kB / 0.8612 GB, free: 6.457 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.6275, allocations: 7.938 kB / 0.8612 GB, free: 6.449 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.6276, allocations: 0 / 0.8612 GB, free: 6.449 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003838/0.6279, allocations: 334.9 kB / 0.8615 GB, free: 6.078 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001537/0.6281, allocations: 156.6 kB / 0.8616 GB, free: 5.906 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.807e-05/0.6282, allocations: 7.984 kB / 0.8616 GB, free: 5.898 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.6284, allocations: 16 kB / 0.8617 GB, free: 5.883 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.949e-05/0.6284, allocations: 15.92 kB / 0.8617 GB, free: 5.867 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.6284, allocations: 8 kB / 0.8617 GB, free: 5.859 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005309/0.629, allocations: 0.4951 MB / 0.8622 GB, free: 5.371 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.01e-07/0.629, allocations: 0 / 0.8622 GB, free: 5.371 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0003693/0.6293, allocations: 79.94 kB / 0.8622 GB, free: 5.293 MB / 0.6856 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.0008391/0.6302, allocations: 0.9087 MB / 0.8631 GB, free: 4.336 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0003069/0.6305, allocations: 107.8 kB / 0.8632 GB, free: 4.23 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.6305, allocations: 384 / 0.8632 GB, free: 4.23 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.6307, allocations: 64.02 kB / 0.8633 GB, free: 4.168 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/0.6319, allocations: 284.5 kB / 0.8636 GB, free: 3.891 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2847/0.9166, allocations: 4.456 MB / 0.8679 GB, free: 193.9 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003748/0.917, allocations: 0.9063 MB / 0.8688 GB, free: 193.2 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0003301/0.9173, allocations: 106.1 kB / 0.8689 GB, free: 193.2 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002046/0.9176, allocations: 171.1 kB / 0.8691 GB, free: 193.2 MB / 0.6856 GB Notification: Performance of SimCode: time 8.22e-07/0.9176, allocations: 0 / 0.8691 GB, free: 193.2 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03491/0.9525, allocations: 13.58 MB / 0.8823 GB, free: 187.9 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.111/9.064, allocations: 6.734 kB / 0.8823 GB, free: 187.9 MB / 0.6856 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)