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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8486/0.8486, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.6971/0.6971, allocations: 154.6 MB / 413.8 MB, free: 0.8008 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.361e-05/1.494e-05, allocations: 5.094 kB / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_T): time 0.4248/0.4248, allocations: 171.6 MB / 0.7857 GB, free: 8.176 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.009251/0.4341, allocations: 9.218 MB / 0.7947 GB, free: 1.953 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006512/0.4347, allocations: 41.78 kB / 0.7947 GB, free: 1.93 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.000816/0.4356, allocations: 418.9 kB / 0.7951 GB, free: 1.66 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.002012/0.4376, allocations: 1.054 MB / 0.7961 GB, free: 1.082 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.002336/0.4399, allocations: 1.439 MB / 0.7975 GB, free: 392 kB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.001281/0.4412, allocations: 1.696 MB / 0.7992 GB, free: 15.61 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006061/0.4418, allocations: 0.6136 MB / 0.7998 GB, free: 15.3 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00278/0.4446, allocations: 1.928 MB / 0.8017 GB, free: 14.45 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003599/0.4449, allocations: 470.6 kB / 0.8021 GB, free: 14.3 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 6.101e-05/0.445, allocations: 63.41 kB / 0.8022 GB, free: 14.3 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001261/0.4463, allocations: 1.161 MB / 0.8033 GB, free: 13.87 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.000217/0.4465, allocations: 369.5 kB / 0.8037 GB, free: 13.71 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0001936/0.4467, allocations: 296.2 kB / 0.8039 GB, free: 13.6 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.4478, allocations: 1.516 MB / 0.8054 GB, free: 12.79 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.4478, allocations: 0 / 0.8054 GB, free: 12.79 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4478, allocations: 0 / 0.8054 GB, free: 12.79 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 9.428e-06/0.4478, allocations: 0 / 0.8054 GB, free: 12.79 MB / 0.6667 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.001004/0.4488, allocations: 1.087 MB / 0.8065 GB, free: 11.94 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.4488, allocations: 8.156 kB / 0.8065 GB, free: 11.94 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.49e-05/0.4489, allocations: 121.1 kB / 0.8066 GB, free: 11.84 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008538/0.4498, allocations: 296.3 kB / 0.8069 GB, free: 11.7 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006446/0.4504, allocations: 0.5022 MB / 0.8074 GB, free: 11.32 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003145/0.4507, allocations: 61.83 kB / 0.8074 GB, free: 11.29 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.047e-05/0.4508, allocations: 67.88 kB / 0.8075 GB, free: 11.27 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007984/0.4516, allocations: 0.9048 MB / 0.8084 GB, free: 10.68 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.4516, allocations: 3.281 kB / 0.8084 GB, free: 10.68 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.043e-05/0.4516, allocations: 36.14 kB / 0.8084 GB, free: 10.65 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.846e-05/0.4517, allocations: 40.89 kB / 0.8085 GB, free: 10.64 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000601/0.4523, allocations: 0.5724 MB / 0.809 GB, free: 10.37 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001979/0.4543, allocations: 2.997 MB / 0.812 GB, free: 7.867 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002389/0.4545, allocations: 208.9 kB / 0.8122 GB, free: 7.723 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000137/0.4546, allocations: 143.9 kB / 0.8123 GB, free: 7.641 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002829/0.4549, allocations: 106.5 kB / 0.8124 GB, free: 7.602 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.4549, allocations: 36.88 kB / 0.8124 GB, free: 7.559 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=21): time 1.624e-06/0.4549, allocations: 2.5 kB / 0.8124 GB, free: 7.559 MB / 0.6667 GB Notification: Performance of matching and sorting (n=21): time 0.0006513/0.4556, allocations: 454.6 kB / 0.8129 GB, free: 7.336 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.4556, allocations: 109.6 kB / 0.813 GB, free: 7.207 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006234/0.4563, allocations: 0.8703 MB / 0.8138 GB, free: 6.738 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.4563, allocations: 29.7 kB / 0.8138 GB, free: 6.703 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001884/0.4565, allocations: 384.8 kB / 0.8142 GB, free: 6.371 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 4.1e-05/0.4565, allocations: 77.72 kB / 0.8143 GB, free: 6.305 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.51e-05/0.4566, allocations: 61.25 kB / 0.8143 GB, free: 6.262 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.069e-05/0.4566, allocations: 323.8 kB / 0.8147 GB, free: 5.945 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.4568, allocations: 101.4 kB / 0.8147 GB, free: 5.898 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.457, allocations: 339.9 kB / 0.8151 GB, free: 5.574 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002915/0.4573, allocations: 310.2 kB / 0.8154 GB, free: 5.355 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.4573, allocations: 0 / 0.8154 GB, free: 5.355 MB / 0.6667 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003869/0.4577, allocations: 410.6 kB / 0.8158 GB, free: 5.141 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.4577, allocations: 8.125 kB / 0.8158 GB, free: 5.141 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.4577, allocations: 2.312 kB / 0.8158 GB, free: 5.141 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.4577, allocations: 5.844 kB / 0.8158 GB, free: 5.141 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.4579, allocations: 60.84 kB / 0.8158 GB, free: 5.125 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.4579, allocations: 2.5 kB / 0.8158 GB, free: 5.125 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000193/0.4581, allocations: 87.28 kB / 0.8159 GB, free: 5.062 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.309e-05/0.4581, allocations: 17.42 kB / 0.8159 GB, free: 5.059 MB / 0.6667 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.0001762/0.4583, allocations: 234.8 kB / 0.8162 GB, free: 4.875 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.171e-05/0.4583, allocations: 84.5 kB / 0.8162 GB, free: 4.828 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003359/0.4587, allocations: 317.1 kB / 0.8165 GB, free: 4.645 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.4587, allocations: 2.5 kB / 0.8165 GB, free: 4.645 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.4587, allocations: 0 / 0.8165 GB, free: 4.645 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.4587, allocations: 14.34 kB / 0.8166 GB, free: 4.633 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00133/0.46, allocations: 1.289 MB / 0.8178 GB, free: 3.641 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.46, allocations: 3.281 kB / 0.8178 GB, free: 3.641 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.921e-05/0.4601, allocations: 46.52 kB / 0.8179 GB, free: 3.629 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.4601, allocations: 8.984 kB / 0.8179 GB, free: 3.625 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.4601, allocations: 9.625 kB / 0.8179 GB, free: 3.621 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.4601, allocations: 4.969 kB / 0.8179 GB, free: 3.621 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.4601, allocations: 9.688 kB / 0.8179 GB, free: 3.617 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003543/0.4605, allocations: 0.5138 MB / 0.8184 GB, free: 3.195 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.4606, allocations: 112.7 kB / 0.8185 GB, free: 3.121 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.34e-05/0.4606, allocations: 6.031 kB / 0.8185 GB, free: 3.121 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.4608, allocations: 18.64 kB / 0.8185 GB, free: 3.113 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.781e-05/0.4608, allocations: 30.72 kB / 0.8186 GB, free: 3.094 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.4608, allocations: 10.56 kB / 0.8186 GB, free: 3.094 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004394/0.4613, allocations: 0.6126 MB / 0.8192 GB, free: 2.754 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5e-08/0.4613, allocations: 0 / 0.8192 GB, free: 2.754 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003178/0.4616, allocations: 159.9 kB / 0.8193 GB, free: 2.73 MB / 0.6667 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.000671/0.4623, allocations: 1.131 MB / 0.8204 GB, free: 1.738 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003143/0.4626, allocations: 263.5 kB / 0.8207 GB, free: 1.617 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4626, allocations: 0 / 0.8207 GB, free: 1.617 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.4627, allocations: 126 kB / 0.8208 GB, free: 1.559 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009463/0.4637, allocations: 422.7 kB / 0.8212 GB, free: 1.379 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004771/0.4684, allocations: 6.016 MB / 0.8271 GB, free: 12.76 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005345/0.469, allocations: 405.9 kB / 0.8275 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002949/0.4693, allocations: 171.2 kB / 0.8276 GB, free: 12.17 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002242/0.4695, allocations: 276.4 kB / 0.8279 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of SimCode: time 4.71e-07/0.4695, allocations: 0 / 0.8279 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03116/0.5007, allocations: 23.04 MB / 0.8504 GB, free: 5.461 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.405/7.906, allocations: 3.984 kB / 0.8504 GB, free: 5.457 MB / 0.698 GB " [Timeout remaining time 652] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.627839730121195] Failed to read output from testmodel.py, exit status != 0: 7.996679037809372 8.006054817 7.556508412 Calling exit ...