Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.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.001272/0.001272, allocations: 109 kB / 20.48 MB, free: 1.473 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.001452/0.001452, allocations: 211 kB / 23.79 MB, free: 4.684 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.391/1.391, allocations: 230.6 MB / 257.6 MB, free: 7.988 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.9172/0.9172, allocations: 150 MB / 464 MB, free: 10.5 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.Outside_CpData,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData",fmuType="cs",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.002188/0.002188, allocations: 60.06 kB / 0.642 GB, free: 10.39 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.171, allocations: 89.17 MB / 0.7291 GB, free: 1.285 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside_CpData): time 0.546/0.7171, allocations: 172 MB / 0.8971 GB, free: 11.29 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02694/0.744, allocations: 17.75 MB / 0.9145 GB, free: 9.492 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001888/0.7459, allocations: 39.62 kB / 0.9145 GB, free: 9.453 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002527/0.7484, allocations: 0.6012 MB / 0.9151 GB, free: 8.848 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.006235/0.7546, allocations: 1.839 MB / 0.9169 GB, free: 7.004 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004219/0.7589, allocations: 1.499 MB / 0.9183 GB, free: 5.52 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004381/0.7632, allocations: 2.898 MB / 0.9212 GB, free: 2.609 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003027/0.7663, allocations: 1.602 MB / 0.9227 GB, free: 0.9492 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005053/0.7713, allocations: 1.519 MB / 0.9242 GB, free: 15.49 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002211/0.7735, allocations: 1.151 MB / 0.9253 GB, free: 14.33 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0008243/0.7744, allocations: 224 kB / 0.9256 GB, free: 14.11 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004287/0.7786, allocations: 1.673 MB / 0.9272 GB, free: 12.44 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001352/0.78, allocations: 0.8062 MB / 0.928 GB, free: 11.63 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.002346/0.7823, allocations: 1.275 MB / 0.9292 GB, free: 10.35 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.007536/0.7899, allocations: 3.794 MB / 0.9329 GB, free: 6.539 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.7899, allocations: 4 kB / 0.9329 GB, free: 6.535 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.954e-06/0.7899, allocations: 0 / 0.9329 GB, free: 6.535 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001358/0.79, allocations: 0 / 0.9329 GB, free: 6.535 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.00752/0.7975, allocations: 2.946 MB / 0.9358 GB, free: 3.535 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.7976, allocations: 8.031 kB / 0.9358 GB, free: 3.527 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.804e-05/0.7977, allocations: 47.38 kB / 0.9359 GB, free: 3.48 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005764/0.7982, allocations: 252.8 kB / 0.9361 GB, free: 3.223 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004713/0.8029, allocations: 0.6306 MB / 0.9367 GB, free: 2.59 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00532/0.8083, allocations: 3.363 MB / 0.94 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001635/0.8084, allocations: 135.3 kB / 0.9401 GB, free: 15.06 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004639/0.8089, allocations: 164 kB / 0.9403 GB, free: 14.9 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004714/0.8136, allocations: 1.937 MB / 0.9422 GB, free: 12.91 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.114e-05/0.8137, allocations: 0 / 0.9422 GB, free: 12.91 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003271/0.814, allocations: 76 kB / 0.9423 GB, free: 12.84 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.32e-05/0.814, allocations: 40 kB / 0.9423 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004463/0.8185, allocations: 2.09 MB / 0.9443 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01284/0.8313, allocations: 6.71 MB / 0.9509 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003769/0.8351, allocations: 1.713 MB / 0.9526 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001349/0.8364, allocations: 0.6983 MB / 0.9532 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00048/0.8369, allocations: 125.2 kB / 0.9534 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001894/0.8388, allocations: 1.001 MB / 0.9543 GB, free: 44 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=146): time 3.156e-06/0.8388, allocations: 0 / 0.9543 GB, free: 44 kB / 0.7169 GB Notification: Performance of matching and sorting (n=146): time 0.006793/0.8456, allocations: 2.597 MB / 0.9569 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001241/0.8457, allocations: 201.2 kB / 0.9571 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004941/0.8507, allocations: 4.081 MB / 0.961 GB, free: 9.098 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002981/0.851, allocations: 57.7 kB / 0.9611 GB, free: 9.035 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008746/0.8519, allocations: 0.9114 MB / 0.962 GB, free: 8.113 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005724/0.8524, allocations: 0.4919 MB / 0.9625 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004214/0.8528, allocations: 238.8 kB / 0.9627 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.853, allocations: 357.9 kB / 0.963 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001129/0.8541, allocations: 0.5725 MB / 0.9636 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001352/0.8555, allocations: 0.793 MB / 0.9644 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00239/0.8579, allocations: 1.306 MB / 0.9657 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.174e-06/0.8579, allocations: 3.984 kB / 0.9657 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004154/0.862, allocations: 1.784 MB / 0.9674 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/0.8621, allocations: 9.719 kB / 0.9674 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.8621, allocations: 0 / 0.9674 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001104/0.8632, allocations: 224.1 kB / 0.9676 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00154/0.8647, allocations: 319.6 kB / 0.9679 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006518/0.8712, allocations: 6.802 MB / 0.9746 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001758/0.873, allocations: 175 kB / 0.9747 GB, free: 10.37 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002482/0.8732, allocations: 47.97 kB / 0.9748 GB, free: 10.32 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001262/0.8745, allocations: 485.7 kB / 0.9752 GB, free: 9.836 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007442/0.8753, allocations: 206.7 kB / 0.9754 GB, free: 9.633 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004874/0.8801, allocations: 2.134 MB / 0.9775 GB, free: 7.469 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-05/0.8801, allocations: 16 kB / 0.9775 GB, free: 7.453 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.8801, allocations: 0 / 0.9775 GB, free: 7.453 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.962e-05/0.8802, allocations: 7.969 kB / 0.9775 GB, free: 7.445 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008007/0.8882, allocations: 4.084 MB / 0.9815 GB, free: 3.289 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.8882, allocations: 0 / 0.9815 GB, free: 3.289 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001463/0.8896, allocations: 307.6 kB / 0.9818 GB, free: 2.988 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009153/0.8906, allocations: 220 kB / 0.982 GB, free: 2.758 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001712/0.8907, allocations: 39.97 kB / 0.9821 GB, free: 2.719 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006395/0.8971, allocations: 6.842 MB / 0.9888 GB, free: 11.29 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.8971, allocations: 0 / 0.9888 GB, free: 11.29 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004951/0.9021, allocations: 2.018 MB / 0.9907 GB, free: 9.238 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001356/0.9034, allocations: 458 kB / 0.9912 GB, free: 8.789 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005057/0.9039, allocations: 31.98 kB / 0.9912 GB, free: 8.758 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001623/0.9056, allocations: 110.1 kB / 0.9913 GB, free: 8.652 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003263/0.9059, allocations: 121 kB / 0.9914 GB, free: 8.535 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002318/0.9061, allocations: 67.94 kB / 0.9915 GB, free: 8.469 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.003839/0.91, allocations: 3.14 MB / 0.9945 GB, free: 5.336 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.9e-07/0.91, allocations: 0 / 0.9945 GB, free: 5.336 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002425/0.9124, allocations: 0.686 MB / 0.9952 GB, free: 4.648 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007313/0.9197, allocations: 3.208 MB / 0.9984 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003999/0.9237, allocations: 2 MB / 1 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/0.9237, allocations: 4.656 kB / 1 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.002443/0.9262, allocations: 1.364 MB / 1.002 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003244/0.9294, allocations: 0.5563 MB / 1.002 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03611/0.9655, allocations: 20.89 MB / 1.023 GB, free: 8.453 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00129/0.9668, allocations: 1.537 MB / 1.024 GB, free: 6.887 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001916/0.9687, allocations: 0.5369 MB / 1.025 GB, free: 6.344 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001433/0.9701, allocations: 0.9015 MB / 1.025 GB, free: 5.441 MB / 0.795 GB Notification: Performance of SimCode: time 1.292e-06/0.9701, allocations: 4 kB / 1.025 GB, free: 5.438 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1506/1.121, allocations: 50.52 MB / 1.075 GB, free: 3.32 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.43/17.55, allocations: 5.25 kB / 1.075 GB, free: 3.32 MB / 0.8419 GB " [Timeout remaining time 642] (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --stepSize=241.92 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.787344466953073] Failed to read output from testmodel.py, exit status != 0: 17.843992712034378 18.13931956 17.345913454 Calling exit ...