Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001746/0.001746, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 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.002282/0.002282, allocations: 214.6 kB / 22.99 MB, free: 4.977 MB / 14.72 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 1.373/1.373, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9288/0.9288, allocations: 149.9 MB / 463.1 MB, free: 10.31 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_T",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 67.48 kB / 0.6411 GB, free: 10.12 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1632, allocations: 89.17 MB / 0.7282 GB, free: 1.023 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.PropertySource_T): time 0.526/0.6892, allocations: 171.8 MB / 0.8959 GB, free: 9.398 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01252/0.7017, allocations: 9.264 MB / 0.9049 GB, free: 116 kB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008943/0.7026, allocations: 39.62 kB / 0.905 GB, free: 76 kB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001217/0.7039, allocations: 413 kB / 0.9054 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002897/0.7067, allocations: 1.026 MB / 0.9064 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003289/0.71, allocations: 1.328 MB / 0.9077 GB, free: 13.31 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002204/0.7122, allocations: 1.698 MB / 0.9093 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001201/0.7134, allocations: 0.6097 MB / 0.9099 GB, free: 10.97 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003856/0.7173, allocations: 1.689 MB / 0.9116 GB, free: 9.277 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009873/0.7183, allocations: 0.5211 MB / 0.9121 GB, free: 8.754 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002071/0.7185, allocations: 60 kB / 0.9121 GB, free: 8.695 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002936/0.7214, allocations: 1.137 MB / 0.9132 GB, free: 7.555 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005963/0.722, allocations: 362.9 kB / 0.9136 GB, free: 7.199 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007201/0.7227, allocations: 358.3 kB / 0.9139 GB, free: 6.848 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002636/0.7254, allocations: 1.467 MB / 0.9154 GB, free: 5.375 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.7254, allocations: 0 / 0.9154 GB, free: 5.375 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.263e-06/0.7254, allocations: 0 / 0.9154 GB, free: 5.375 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.478e-05/0.7254, allocations: 4 kB / 0.9154 GB, free: 5.371 MB / 0.6856 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.001978/0.7274, allocations: 1.096 MB / 0.9164 GB, free: 4.238 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.7274, allocations: 11.97 kB / 0.9164 GB, free: 4.227 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000182/0.7276, allocations: 122.6 kB / 0.9166 GB, free: 4.098 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001796/0.7294, allocations: 303 kB / 0.9169 GB, free: 3.801 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/0.7306, allocations: 0.4933 MB / 0.9173 GB, free: 3.277 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.198e-05/0.7306, allocations: 57.98 kB / 0.9174 GB, free: 3.223 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.7307, allocations: 80 kB / 0.9175 GB, free: 3.145 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001464/0.7322, allocations: 0.8947 MB / 0.9183 GB, free: 2.188 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/0.7322, allocations: 7.938 kB / 0.9183 GB, free: 2.18 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.509e-05/0.7323, allocations: 32 kB / 0.9184 GB, free: 2.148 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.409e-05/0.7323, allocations: 33.3 kB / 0.9184 GB, free: 2.117 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/0.7334, allocations: 0.5833 MB / 0.919 GB, free: 1.531 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003777/0.7372, allocations: 2.982 MB / 0.9219 GB, free: 14.44 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004026/0.7376, allocations: 215.6 kB / 0.9221 GB, free: 14.2 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000255/0.7378, allocations: 141.2 kB / 0.9222 GB, free: 14.06 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005951/0.7384, allocations: 107.9 kB / 0.9223 GB, free: 13.95 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/0.7385, allocations: 43.25 kB / 0.9224 GB, free: 13.9 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=21): time 1.944e-06/0.7385, allocations: 0 / 0.9224 GB, free: 13.9 MB / 0.7012 GB Notification: Performance of matching and sorting (n=21): time 0.001241/0.7397, allocations: 458.9 kB / 0.9228 GB, free: 13.45 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.002e-05/0.7398, allocations: 106.8 kB / 0.9229 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/0.7409, allocations: 0.8647 MB / 0.9238 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 3.443e-05/0.7409, allocations: 37.7 kB / 0.9238 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003265/0.7413, allocations: 388.2 kB / 0.9242 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 7.43e-05/0.7413, allocations: 79.3 kB / 0.9242 GB, free: 11.94 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.7415, allocations: 57.7 kB / 0.9243 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.7416, allocations: 321.9 kB / 0.9246 GB, free: 11.56 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002258/0.7418, allocations: 99.92 kB / 0.9247 GB, free: 11.46 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00039/0.7422, allocations: 339.7 kB / 0.925 GB, free: 11.06 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005208/0.7427, allocations: 310.8 kB / 0.9253 GB, free: 10.71 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.7427, allocations: 4 kB / 0.9253 GB, free: 10.71 MB / 0.7012 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007524/0.7435, allocations: 414.9 kB / 0.9257 GB, free: 10.3 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.7435, allocations: 8 kB / 0.9257 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.7435, allocations: 4.5 kB / 0.9257 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.7435, allocations: 8.344 kB / 0.9257 GB, free: 10.28 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002975/0.7438, allocations: 59.91 kB / 0.9258 GB, free: 10.22 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.7438, allocations: 4 kB / 0.9258 GB, free: 10.22 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004372/0.7443, allocations: 80.14 kB / 0.9259 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.688e-05/0.7443, allocations: 15.98 kB / 0.9259 GB, free: 10.12 MB / 0.7012 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.0002814/0.7446, allocations: 233.6 kB / 0.9261 GB, free: 9.887 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/0.7447, allocations: 83.48 kB / 0.9262 GB, free: 9.805 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006344/0.7454, allocations: 326 kB / 0.9265 GB, free: 9.48 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.7454, allocations: 4 kB / 0.9265 GB, free: 9.477 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.7454, allocations: 0 / 0.9265 GB, free: 9.477 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.7454, allocations: 0 / 0.9265 GB, free: 9.477 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002107/0.7475, allocations: 1.287 MB / 0.9278 GB, free: 8.086 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.7475, allocations: 4 kB / 0.9278 GB, free: 8.082 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002079/0.7477, allocations: 48.72 kB / 0.9278 GB, free: 8.035 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.777e-06/0.7477, allocations: 7.938 kB / 0.9278 GB, free: 8.027 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/0.7477, allocations: 12 kB / 0.9278 GB, free: 8.016 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.334e-06/0.7477, allocations: 8.469 kB / 0.9278 GB, free: 8.008 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.7477, allocations: 8 kB / 0.9278 GB, free: 8 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006739/0.7484, allocations: 0.5108 MB / 0.9283 GB, free: 7.422 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002836/0.7487, allocations: 115.4 kB / 0.9285 GB, free: 7.309 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.7488, allocations: 18.25 kB / 0.9285 GB, free: 7.293 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003348/0.7491, allocations: 11.98 kB / 0.9285 GB, free: 7.281 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.962e-05/0.7492, allocations: 31.94 kB / 0.9285 GB, free: 7.25 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.7492, allocations: 16 kB / 0.9285 GB, free: 7.234 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0008109/0.75, allocations: 0.6122 MB / 0.9291 GB, free: 6.625 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.31e-07/0.75, allocations: 3.938 kB / 0.9291 GB, free: 6.621 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0005726/0.7506, allocations: 163.7 kB / 0.9293 GB, free: 6.461 MB / 0.7012 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.001202/0.7518, allocations: 1.134 MB / 0.9304 GB, free: 5.246 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0005643/0.7524, allocations: 259.5 kB / 0.9306 GB, free: 4.992 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.7524, allocations: 4 kB / 0.9306 GB, free: 4.988 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.000257/0.7526, allocations: 125.4 kB / 0.9308 GB, free: 4.867 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001794/0.7544, allocations: 428.8 kB / 0.9312 GB, free: 4.477 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008145/0.7626, allocations: 5.98 MB / 0.937 GB, free: 14.18 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004381/0.763, allocations: 394.3 kB / 0.9374 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0005178/0.7635, allocations: 158.2 kB / 0.9375 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003594/0.7639, allocations: 271.4 kB / 0.9378 GB, free: 13.35 MB / 0.7169 GB Notification: Performance of SimCode: time 4.8e-07/0.7639, allocations: 0 / 0.9378 GB, free: 13.35 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05698/0.8209, allocations: 23.04 MB / 0.9603 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/12.13, allocations: 5.609 kB / 0.9603 GB, free: 6.84 MB / 0.7325 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_T_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_T.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.772247508633882] Failed to read output from testmodel.py, exit status != 0: 12.25221932074055 12.27686096 11.546873679 Calling exit ...