Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification.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.001249/0.001249, allocations: 105 kB / 20.48 MB, free: 1.488 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.001342/0.001342, allocations: 212.4 kB / 23.79 MB, free: 4.703 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.358/1.358, allocations: 230.6 MB / 257.6 MB, free: 8.023 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.8967/0.8967, allocations: 150 MB / 464 MB, free: 10.54 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_Specification,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Specification",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.001905/0.001905, allocations: 70.39 kB / 0.642 GB, free: 10.51 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1833, allocations: 89.18 MB / 0.7291 GB, free: 1.391 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.5425/0.7258, allocations: 158 MB / 0.8834 GB, free: 9.668 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01647/0.7423, allocations: 10.85 MB / 0.894 GB, free: 14.79 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001118/0.7434, allocations: 27.75 kB / 0.894 GB, free: 14.77 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001074/0.7445, allocations: 297.6 kB / 0.8943 GB, free: 14.47 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003294/0.7477, allocations: 0.9942 MB / 0.8952 GB, free: 13.48 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002883/0.7506, allocations: 1.131 MB / 0.8963 GB, free: 12.36 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002351/0.753, allocations: 1.752 MB / 0.8981 GB, free: 10.6 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001398/0.7544, allocations: 0.9516 MB / 0.899 GB, free: 9.621 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002081/0.7565, allocations: 0.7723 MB / 0.8997 GB, free: 8.867 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00102/0.7575, allocations: 0.6419 MB / 0.9004 GB, free: 8.223 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002237/0.7577, allocations: 136 kB / 0.9005 GB, free: 8.09 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002506/0.7602, allocations: 1.112 MB / 0.9016 GB, free: 6.977 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004378/0.7607, allocations: 390.7 kB / 0.902 GB, free: 6.594 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0008501/0.7615, allocations: 0.6841 MB / 0.9026 GB, free: 5.906 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003884/0.7654, allocations: 2.296 MB / 0.9049 GB, free: 3.602 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.7654, allocations: 0 / 0.9049 GB, free: 3.602 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7654, allocations: 0 / 0.9049 GB, free: 3.602 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.179e-05/0.7654, allocations: 0 / 0.9049 GB, free: 3.602 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003454/0.7689, allocations: 1.734 MB / 0.9066 GB, free: 1.828 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.7689, allocations: 12.03 kB / 0.9066 GB, free: 1.816 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.502e-05/0.769, allocations: 30 kB / 0.9066 GB, free: 1.789 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001941/0.7692, allocations: 152.1 kB / 0.9067 GB, free: 1.633 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002126/0.7713, allocations: 322.8 kB / 0.907 GB, free: 1.316 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001632/0.7729, allocations: 1.029 MB / 0.9081 GB, free: 264 kB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.513e-05/0.773, allocations: 70 kB / 0.9081 GB, free: 192 kB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/0.7731, allocations: 96 kB / 0.9082 GB, free: 96 kB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001976/0.7751, allocations: 1.108 MB / 0.9093 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.7751, allocations: 4 kB / 0.9093 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/0.7752, allocations: 40 kB / 0.9093 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.185e-05/0.7752, allocations: 28 kB / 0.9094 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002324/0.7776, allocations: 1.315 MB / 0.9106 GB, free: 13.56 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005365/0.7829, allocations: 3.479 MB / 0.914 GB, free: 9.91 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002026/0.785, allocations: 0.9765 MB / 0.915 GB, free: 8.934 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007642/0.7857, allocations: 392.5 kB / 0.9154 GB, free: 8.547 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000205/0.7859, allocations: 60.92 kB / 0.9154 GB, free: 8.488 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001131/0.7871, allocations: 0.6216 MB / 0.916 GB, free: 7.844 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=95): time 2.275e-06/0.7871, allocations: 0 / 0.916 GB, free: 7.844 MB / 0.6856 GB Notification: Performance of matching and sorting (n=95): time 0.004141/0.7912, allocations: 1.489 MB / 0.9175 GB, free: 6.348 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001415/0.7913, allocations: 196.9 kB / 0.9177 GB, free: 6.113 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001348/0.7927, allocations: 1.044 MB / 0.9187 GB, free: 5.062 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001031/0.7928, allocations: 45.7 kB / 0.9187 GB, free: 5.012 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004926/0.7933, allocations: 485.2 kB / 0.9192 GB, free: 4.531 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002748/0.7936, allocations: 329.2 kB / 0.9195 GB, free: 4.207 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002817/0.7938, allocations: 170.6 kB / 0.9197 GB, free: 4.031 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.794, allocations: 337.9 kB / 0.92 GB, free: 3.695 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007097/0.7947, allocations: 329.8 kB / 0.9203 GB, free: 3.375 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008582/0.7956, allocations: 480.9 kB / 0.9208 GB, free: 2.867 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001535/0.7971, allocations: 0.7656 MB / 0.9215 GB, free: 2.09 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.7971, allocations: 0 / 0.9215 GB, free: 2.09 MB / 0.6856 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002498/0.7996, allocations: 1.045 MB / 0.9225 GB, free: 1.035 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.7996, allocations: 8 kB / 0.9226 GB, free: 1.027 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.7996, allocations: 0 / 0.9226 GB, free: 1.027 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007529/0.8004, allocations: 117.6 kB / 0.9227 GB, free: 0.9062 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008887/0.8013, allocations: 195.7 kB / 0.9229 GB, free: 0.7148 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00328/0.8046, allocations: 2.861 MB / 0.9256 GB, free: 13.62 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009138/0.8055, allocations: 118.6 kB / 0.9258 GB, free: 13.51 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.636e-05/0.8055, allocations: 35.98 kB / 0.9258 GB, free: 13.48 MB / 0.7012 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 (100): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005665/0.8061, allocations: 309.5 kB / 0.9261 GB, free: 13.16 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002308/0.8063, allocations: 107.3 kB / 0.9262 GB, free: 13.06 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002979/0.8093, allocations: 1.315 MB / 0.9275 GB, free: 11.72 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.8093, allocations: 8 kB / 0.9275 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.8093, allocations: 4 kB / 0.9275 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.8093, allocations: 3.984 kB / 0.9275 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004354/0.8137, allocations: 2.446 MB / 0.9299 GB, free: 9.203 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.156e-06/0.8137, allocations: 7.922 kB / 0.9299 GB, free: 9.195 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008295/0.8145, allocations: 187.8 kB / 0.9301 GB, free: 9.012 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005695/0.8151, allocations: 105.6 kB / 0.9302 GB, free: 8.902 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.836e-05/0.8152, allocations: 31.97 kB / 0.9302 GB, free: 8.871 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003037/0.8182, allocations: 2.882 MB / 0.933 GB, free: 5.754 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.8182, allocations: 0 / 0.933 GB, free: 5.754 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002758/0.821, allocations: 1.245 MB / 0.9342 GB, free: 4.488 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005451/0.8215, allocations: 247 kB / 0.9345 GB, free: 4.246 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001512/0.8217, allocations: 27.89 kB / 0.9345 GB, free: 4.219 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008212/0.8225, allocations: 87.91 kB / 0.9346 GB, free: 4.133 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001755/0.8227, allocations: 84.84 kB / 0.9347 GB, free: 4.051 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.41e-05/0.8228, allocations: 47.91 kB / 0.9347 GB, free: 4.004 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0009806/0.8238, allocations: 0.7684 MB / 0.9355 GB, free: 3.238 MB / 0.7012 GB Notification: Performance of sort global known variables: time 7e-08/0.8238, allocations: 0 / 0.9355 GB, free: 3.238 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001248/0.825, allocations: 455 kB / 0.9359 GB, free: 2.793 MB / 0.7012 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 (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.004918/0.8299, allocations: 2.394 MB / 0.9382 GB, free: 0.582 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002234/0.8322, allocations: 1.08 MB / 0.9393 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/0.8322, allocations: 0 / 0.9393 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001294/0.8334, allocations: 0.7098 MB / 0.94 GB, free: 14.74 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001584/0.835, allocations: 357.1 kB / 0.9403 GB, free: 14.42 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01432/0.8493, allocations: 8.447 MB / 0.9486 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008047/0.8502, allocations: 1.111 MB / 0.9496 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.00108/0.8512, allocations: 320 kB / 0.95 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007282/0.852, allocations: 475.2 kB / 0.9504 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of SimCode: time 1.012e-06/0.852, allocations: 0 / 0.9504 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07469/0.9266, allocations: 29.35 MB / 0.9791 GB, free: 6.828 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.7/15.63, allocations: 15.91 kB / 0.9791 GB, free: 6.812 MB / 0.7481 GB " [Timeout remaining time 644] (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.454375119996257] Failed to read output from testmodel.py, exit status != 0: 15.914302531979047 15.937913241 15.168083431 Calling exit ...