Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_T.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_T,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_PropertySource_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_PropertySource_T",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.0069/0.0069, allocations: 100.5 kB / 15.73 MB, free: 5.953 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.001582/0.001582, allocations: 192.8 kB / 16.67 MB, free: 5.875 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.293/1.293, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7664/0.7664, allocations: 132.2 MB / 422.7 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 67.91 kB / 0.5809 GB, free: 24.19 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1538, allocations: 80.21 MB / 0.6592 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_T): time 0.5673/0.7212, allocations: 194.1 MB / 0.8487 GB, free: 408 kB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01211/0.7334, allocations: 10.04 MB / 0.8585 GB, free: 8.238 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001366/0.7348, allocations: 29.5 kB / 0.8586 GB, free: 8.227 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001024/0.7359, allocations: 395.6 kB / 0.8589 GB, free: 7.879 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00267/0.7386, allocations: 1.08 MB / 0.86 GB, free: 7.047 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002867/0.7414, allocations: 1.315 MB / 0.8613 GB, free: 6.07 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001891/0.7434, allocations: 1.692 MB / 0.8629 GB, free: 5.102 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009628/0.7443, allocations: 0.8363 MB / 0.8638 GB, free: 4.602 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002956/0.7473, allocations: 1.467 MB / 0.8652 GB, free: 3.203 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005654/0.7479, allocations: 0.5251 MB / 0.8657 GB, free: 2.676 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 8.668e-05/0.748, allocations: 60 kB / 0.8658 GB, free: 2.617 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00246/0.7504, allocations: 1.418 MB / 0.8671 GB, free: 1.195 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003095/0.7508, allocations: 347.1 kB / 0.8675 GB, free: 0.8555 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004039/0.7512, allocations: 437.7 kB / 0.8679 GB, free: 436 kB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002239/0.7534, allocations: 1.529 MB / 0.8694 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.7534, allocations: 0 / 0.8694 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.505e-06/0.7534, allocations: 0 / 0.8694 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.247e-05/0.7535, allocations: 7.938 kB / 0.8694 GB, free: 14.88 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.001708/0.7552, allocations: 1.175 MB / 0.8705 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.7552, allocations: 12.03 kB / 0.8705 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001427/0.7554, allocations: 118.6 kB / 0.8707 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001756/0.7572, allocations: 303 kB / 0.871 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.7582, allocations: 0.5745 MB / 0.8715 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.699e-05/0.7583, allocations: 57.98 kB / 0.8716 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.82e-05/0.7584, allocations: 72 kB / 0.8716 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/0.7598, allocations: 0.8986 MB / 0.8725 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.7598, allocations: 4 kB / 0.8725 GB, free: 11.51 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.985e-05/0.7599, allocations: 28 kB / 0.8725 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.217e-05/0.7599, allocations: 41.3 kB / 0.8726 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009565/0.7609, allocations: 0.5748 MB / 0.8731 GB, free: 10.87 MB / 0.6387 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003669/0.7646, allocations: 3.497 MB / 0.8766 GB, free: 7.184 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000366/0.765, allocations: 227.6 kB / 0.8768 GB, free: 6.934 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002434/0.7652, allocations: 142.5 kB / 0.8769 GB, free: 6.785 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009187/0.7661, allocations: 489.4 kB / 0.8774 GB, free: 6.215 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.7662, allocations: 46.5 kB / 0.8774 GB, free: 6.16 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=21): time 1.804e-06/0.7662, allocations: 0 / 0.8774 GB, free: 6.16 MB / 0.6387 GB Notification: Performance of matching and sorting (n=21): time 0.0012/0.7674, allocations: 459.4 kB / 0.8779 GB, free: 5.707 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.081e-05/0.7675, allocations: 102.8 kB / 0.878 GB, free: 5.582 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009657/0.7684, allocations: 0.8645 MB / 0.8788 GB, free: 4.707 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.7685, allocations: 33.7 kB / 0.8788 GB, free: 4.668 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002865/0.7688, allocations: 384.2 kB / 0.8792 GB, free: 4.285 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000129/0.7689, allocations: 83.31 kB / 0.8793 GB, free: 4.203 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.769, allocations: 61.64 kB / 0.8793 GB, free: 4.137 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.7691, allocations: 322 kB / 0.8796 GB, free: 3.816 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/0.7694, allocations: 99.92 kB / 0.8797 GB, free: 3.719 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000333/0.7697, allocations: 212.3 kB / 0.8799 GB, free: 3.473 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005734/0.7703, allocations: 316.3 kB / 0.8802 GB, free: 3.125 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.7703, allocations: 4 kB / 0.8803 GB, free: 3.121 MB / 0.6387 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006742/0.771, allocations: 398.8 kB / 0.8806 GB, free: 2.727 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.771, allocations: 8 kB / 0.8806 GB, free: 2.719 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.771, allocations: 10.44 kB / 0.8807 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.771, allocations: 4 kB / 0.8807 GB, free: 2.707 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003088/0.7714, allocations: 64.25 kB / 0.8807 GB, free: 2.645 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.7714, allocations: 11.94 kB / 0.8807 GB, free: 2.633 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004179/0.7718, allocations: 79.28 kB / 0.8808 GB, free: 2.555 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.374e-05/0.7718, allocations: 20 kB / 0.8808 GB, free: 2.535 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (32): * Single equations (assignments): 32 * 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.0002553/0.7721, allocations: 223.1 kB / 0.881 GB, free: 2.309 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/0.7722, allocations: 83.48 kB / 0.8811 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00063/0.7729, allocations: 333.6 kB / 0.8814 GB, free: 1.895 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.7729, allocations: 7.938 kB / 0.8814 GB, free: 1.887 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.7729, allocations: 0.875 kB / 0.8814 GB, free: 1.887 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.7729, allocations: 4 kB / 0.8814 GB, free: 1.883 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001942/0.7749, allocations: 1.365 MB / 0.8828 GB, free: 416 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.7749, allocations: 4 kB / 0.8828 GB, free: 412 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002019/0.7751, allocations: 39.92 kB / 0.8828 GB, free: 372 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-06/0.7751, allocations: 11.94 kB / 0.8828 GB, free: 360 kB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.688e-05/0.7751, allocations: 9.125 kB / 0.8828 GB, free: 352 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.055e-06/0.7752, allocations: 12.52 kB / 0.8829 GB, free: 340 kB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/0.7752, allocations: 4 kB / 0.8829 GB, free: 336 kB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006546/0.7758, allocations: 0.5332 MB / 0.8834 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002688/0.7761, allocations: 188.5 kB / 0.8836 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.601e-05/0.7762, allocations: 11.94 kB / 0.8836 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003244/0.7765, allocations: 15.98 kB / 0.8836 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.463e-05/0.7766, allocations: 35.84 kB / 0.8836 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.7766, allocations: 8 kB / 0.8836 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007071/0.7773, allocations: 0.6161 MB / 0.8842 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3e-07/0.7774, allocations: 0 / 0.8842 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005953/0.778, allocations: 159.8 kB / 0.8844 GB, free: 14.68 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (21): * Single equations (assignments): 21 * 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.001349/0.7793, allocations: 1.147 MB / 0.8855 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006327/0.78, allocations: 269.8 kB / 0.8858 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.78, allocations: 0 / 0.8858 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002539/0.7802, allocations: 127.7 kB / 0.8859 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001805/0.782, allocations: 412.3 kB / 0.8863 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007901/0.79, allocations: 6.004 MB / 0.8921 GB, free: 6.383 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005464/0.7905, allocations: 0.9917 MB / 0.8931 GB, free: 5.363 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005293/0.7911, allocations: 162.2 kB / 0.8933 GB, free: 5.203 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003385/0.7914, allocations: 271.3 kB / 0.8935 GB, free: 4.938 MB / 0.6544 GB Notification: Performance of SimCode: time 1.032e-06/0.7914, allocations: 0 / 0.8935 GB, free: 4.938 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04464/0.8361, allocations: 20.74 MB / 0.9138 GB, free: 0.5156 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.636/9.472, allocations: 9.594 kB / 0.9138 GB, free: 0.5117 MB / 0.67 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_T.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_T_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_T.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1)