Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007228/0.0007228, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.000778/0.000778, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8628/0.8628, allocations: 177.1 MB / 202.8 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7057/0.7057, allocations: 154.6 MB / 413.7 MB, free: 0.8242 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS_Fluid_Sources_Examples_PropertySource_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.618 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.336e-05/2.503e-05, allocations: 5.953 kB / 0.618 GB, free: 13.78 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.PropertySource_T): time 0.4134/0.4135, allocations: 171.6 MB / 0.7856 GB, free: 8.344 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.009039/0.4225, allocations: 9.225 MB / 0.7946 GB, free: 2.117 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009501/0.4235, allocations: 41.56 kB / 0.7946 GB, free: 2.094 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.0009466/0.4244, allocations: 416 kB / 0.795 GB, free: 1.828 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.002825/0.4272, allocations: 1.061 MB / 0.7961 GB, free: 1.242 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.00324/0.4305, allocations: 1.426 MB / 0.7975 GB, free: 0.5508 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.002349/0.4328, allocations: 1.694 MB / 0.7991 GB, free: 15.77 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001105/0.4339, allocations: 0.6242 MB / 0.7997 GB, free: 15.46 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003806/0.4377, allocations: 1.919 MB / 0.8016 GB, free: 14.62 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007619/0.4385, allocations: 475.2 kB / 0.802 GB, free: 14.46 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001418/0.4386, allocations: 62.69 kB / 0.8021 GB, free: 14.46 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002028/0.4407, allocations: 1.164 MB / 0.8032 GB, free: 14.03 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0004161/0.4411, allocations: 370.6 kB / 0.8036 GB, free: 13.88 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0004659/0.4415, allocations: 303.7 kB / 0.8039 GB, free: 13.75 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.002485/0.444, allocations: 1.507 MB / 0.8054 GB, free: 12.9 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.444, allocations: 0 / 0.8054 GB, free: 12.9 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.793e-06/0.444, allocations: 0 / 0.8054 GB, free: 12.9 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.562e-05/0.4441, allocations: 3.938 kB / 0.8054 GB, free: 12.9 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.00144/0.4455, allocations: 1.089 MB / 0.8064 GB, free: 12.05 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.4456, allocations: 11.62 kB / 0.8064 GB, free: 12.05 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001075/0.4457, allocations: 129 kB / 0.8066 GB, free: 11.94 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.4467, allocations: 292.4 kB / 0.8068 GB, free: 11.8 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007724/0.4475, allocations: 0.495 MB / 0.8073 GB, free: 11.43 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.326e-05/0.4475, allocations: 55.14 kB / 0.8074 GB, free: 11.41 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.115e-05/0.4476, allocations: 78.5 kB / 0.8075 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009594/0.4485, allocations: 0.8918 MB / 0.8083 GB, free: 10.79 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.4485, allocations: 14.38 kB / 0.8083 GB, free: 10.79 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.137e-05/0.4486, allocations: 31.47 kB / 0.8084 GB, free: 10.76 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.93e-05/0.4486, allocations: 37.64 kB / 0.8084 GB, free: 10.76 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006802/0.4493, allocations: 0.5769 MB / 0.809 GB, free: 10.48 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002501/0.4518, allocations: 2.979 MB / 0.8119 GB, free: 7.996 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003119/0.4521, allocations: 218 kB / 0.8121 GB, free: 7.844 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001704/0.4523, allocations: 137.2 kB / 0.8122 GB, free: 7.766 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004296/0.4527, allocations: 109.4 kB / 0.8123 GB, free: 7.727 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.4527, allocations: 36.81 kB / 0.8124 GB, free: 7.684 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=21): time 2.825e-06/0.4527, allocations: 0 / 0.8124 GB, free: 7.684 MB / 0.6667 GB Notification: Performance of matching and sorting (n=21): time 0.0009077/0.4537, allocations: 462.7 kB / 0.8128 GB, free: 7.453 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.4537, allocations: 105.6 kB / 0.8129 GB, free: 7.328 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007294/0.4544, allocations: 0.8681 MB / 0.8137 GB, free: 6.855 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.4544, allocations: 31.92 kB / 0.8138 GB, free: 6.82 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002111/0.4547, allocations: 384.8 kB / 0.8141 GB, free: 6.484 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 4.75e-05/0.4547, allocations: 85.77 kB / 0.8142 GB, free: 6.41 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.809e-05/0.4548, allocations: 61.25 kB / 0.8143 GB, free: 6.367 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.533e-05/0.4549, allocations: 320.9 kB / 0.8146 GB, free: 6.051 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.455, allocations: 108.1 kB / 0.8147 GB, free: 6 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002261/0.4552, allocations: 339.2 kB / 0.815 GB, free: 5.676 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003238/0.4555, allocations: 310.7 kB / 0.8153 GB, free: 5.457 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.4555, allocations: 3.375 kB / 0.8153 GB, free: 5.457 MB / 0.6667 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005031/0.456, allocations: 406.6 kB / 0.8157 GB, free: 5.242 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.4561, allocations: 8.406 kB / 0.8157 GB, free: 5.242 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.4561, allocations: 5.188 kB / 0.8157 GB, free: 5.242 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/0.4561, allocations: 2.312 kB / 0.8157 GB, free: 5.242 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001914/0.4563, allocations: 61.62 kB / 0.8158 GB, free: 5.227 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.4563, allocations: 5.469 kB / 0.8158 GB, free: 5.227 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003156/0.4566, allocations: 91.12 kB / 0.8159 GB, free: 5.16 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.197e-05/0.4567, allocations: 21.39 kB / 0.8159 GB, free: 5.152 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.000253/0.4569, allocations: 222.4 kB / 0.8161 GB, free: 4.98 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.105e-05/0.457, allocations: 81.14 kB / 0.8162 GB, free: 4.938 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003821/0.4574, allocations: 328.8 kB / 0.8165 GB, free: 4.742 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.4574, allocations: 2.844 kB / 0.8165 GB, free: 4.742 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.4574, allocations: 3.094 kB / 0.8165 GB, free: 4.742 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.4574, allocations: 10.38 kB / 0.8165 GB, free: 4.734 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001235/0.4586, allocations: 1.275 MB / 0.8177 GB, free: 3.754 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.4586, allocations: 4.812 kB / 0.8178 GB, free: 3.754 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.4587, allocations: 44.58 kB / 0.8178 GB, free: 3.742 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.4587, allocations: 7.375 kB / 0.8178 GB, free: 3.742 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.4587, allocations: 5.938 kB / 0.8178 GB, free: 3.742 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.682e-06/0.4588, allocations: 14.11 kB / 0.8178 GB, free: 3.734 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.4588, allocations: 4.844 kB / 0.8178 GB, free: 3.734 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003915/0.4591, allocations: 0.5144 MB / 0.8183 GB, free: 3.312 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001443/0.4593, allocations: 116.1 kB / 0.8184 GB, free: 3.234 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.882e-05/0.4593, allocations: 9.531 kB / 0.8184 GB, free: 3.23 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.4595, allocations: 14.8 kB / 0.8185 GB, free: 3.227 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.117e-05/0.4595, allocations: 30.38 kB / 0.8185 GB, free: 3.207 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.4596, allocations: 11.84 kB / 0.8185 GB, free: 3.203 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004807/0.46, allocations: 0.6118 MB / 0.8191 GB, free: 2.867 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.5e-07/0.46, allocations: 4 kB / 0.8191 GB, free: 2.863 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004324/0.4605, allocations: 159.4 kB / 0.8193 GB, free: 2.84 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.0007812/0.4613, allocations: 1.139 MB / 0.8204 GB, free: 1.84 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003876/0.4616, allocations: 257.3 kB / 0.8206 GB, free: 1.723 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.4616, allocations: 0 / 0.8206 GB, free: 1.723 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001514/0.4618, allocations: 127.9 kB / 0.8207 GB, free: 1.664 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.4629, allocations: 427.9 kB / 0.8211 GB, free: 1.477 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005486/0.4684, allocations: 6.006 MB / 0.827 GB, free: 12.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.4687, allocations: 402 kB / 0.8274 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004065/0.4691, allocations: 167.1 kB / 0.8276 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002391/0.4693, allocations: 272.4 kB / 0.8278 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of SimCode: time 9.02e-07/0.4693, allocations: 0 / 0.8278 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03488/0.5042, allocations: 23.05 MB / 0.8503 GB, free: 5.602 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.416/7.921, allocations: 0 / 0.8503 GB, free: 5.602 MB / 0.698 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_T_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sources_Examples_PropertySource_T.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.537320049479604] Failed to read output from testmodel.py, exit status != 0: 8.012822825461626 8.025090875 7.579062744 Calling exit ...