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.001311/0.001311, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001473/0.001473, allocations: 215.1 kB / 23.78 MB, free: 4.555 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.407/1.407, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.9151/0.9151, allocations: 150 MB / 464 MB, free: 10.24 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.002122/0.002122, allocations: 65.83 kB / 0.6419 GB, free: 9.934 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1719, allocations: 89.17 MB / 0.729 GB, free: 0.832 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside_CpData): time 0.5219/0.6938, allocations: 148.2 MB / 0.8737 GB, free: 0.8789 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02493/0.7187, allocations: 16.18 MB / 0.8896 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001837/0.7206, allocations: 43.62 kB / 0.8896 GB, free: 0.6133 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001784/0.7224, allocations: 0.5584 MB / 0.8901 GB, free: 52 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005566/0.7279, allocations: 1.843 MB / 0.8919 GB, free: 14.2 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003831/0.7318, allocations: 1.472 MB / 0.8934 GB, free: 12.75 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004058/0.7358, allocations: 2.891 MB / 0.8962 GB, free: 9.848 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00247/0.7383, allocations: 1.602 MB / 0.8978 GB, free: 8.188 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004431/0.7427, allocations: 1.522 MB / 0.8992 GB, free: 6.727 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001859/0.7446, allocations: 1.148 MB / 0.9004 GB, free: 5.574 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004934/0.7451, allocations: 224 kB / 0.9006 GB, free: 5.355 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003236/0.7483, allocations: 1.494 MB / 0.902 GB, free: 3.859 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0008393/0.7491, allocations: 0.8177 MB / 0.9028 GB, free: 3.039 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001369/0.7505, allocations: 1.046 MB / 0.9039 GB, free: 1.988 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005722/0.7562, allocations: 3.798 MB / 0.9076 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.7562, allocations: 0 / 0.9076 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.362e-06/0.7562, allocations: 0 / 0.9076 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 9.455e-05/0.7563, allocations: 0 / 0.9076 GB, free: 14.18 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: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.005929/0.7623, allocations: 2.946 MB / 0.9104 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.7623, allocations: 8.031 kB / 0.9105 GB, free: 11.17 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.656e-05/0.7624, allocations: 43.38 kB / 0.9105 GB, free: 11.12 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003767/0.7627, allocations: 248.9 kB / 0.9107 GB, free: 10.87 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004635/0.7674, allocations: 0.6345 MB / 0.9114 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005088/0.7725, allocations: 3.363 MB / 0.9146 GB, free: 6.84 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001392/0.7726, allocations: 135.3 kB / 0.9148 GB, free: 6.707 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003283/0.7729, allocations: 168 kB / 0.9149 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004313/0.7772, allocations: 2.701 MB / 0.9176 GB, free: 3.605 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.123e-05/0.7773, allocations: 0 / 0.9176 GB, free: 3.605 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001823/0.7775, allocations: 72 kB / 0.9176 GB, free: 3.535 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.032e-05/0.7775, allocations: 43.98 kB / 0.9177 GB, free: 3.492 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003757/0.7813, allocations: 2.093 MB / 0.9197 GB, free: 1.395 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009454/0.7907, allocations: 4.956 MB / 0.9246 GB, free: 12.35 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003159/0.7939, allocations: 1.709 MB / 0.9262 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001244/0.7951, allocations: 0.6944 MB / 0.9269 GB, free: 9.941 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004657/0.7956, allocations: 117.2 kB / 0.927 GB, free: 9.828 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00213/0.7977, allocations: 1.615 MB / 0.9286 GB, free: 8.047 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=146): time 4.128e-06/0.7977, allocations: 0 / 0.9286 GB, free: 8.047 MB / 0.7012 GB Notification: Performance of matching and sorting (n=146): time 0.006832/0.8045, allocations: 2.594 MB / 0.9311 GB, free: 5.43 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001299/0.8047, allocations: 205.2 kB / 0.9313 GB, free: 5.188 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005062/0.8097, allocations: 4.077 MB / 0.9353 GB, free: 1.105 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002629/0.81, allocations: 61.7 kB / 0.9354 GB, free: 1.039 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000908/0.8109, allocations: 0.9114 MB / 0.9363 GB, free: 120 kB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005746/0.8115, allocations: 0.4919 MB / 0.9367 GB, free: 15.62 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004247/0.8119, allocations: 242.8 kB / 0.937 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001855/0.8121, allocations: 353.9 kB / 0.9373 GB, free: 15.03 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001128/0.8132, allocations: 0.5648 MB / 0.9379 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001579/0.8148, allocations: 1.231 MB / 0.9391 GB, free: 13.06 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002399/0.8172, allocations: 1.31 MB / 0.9403 GB, free: 11.74 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.8172, allocations: 0 / 0.9403 GB, free: 11.74 MB / 0.7169 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00414/0.8213, allocations: 1.78 MB / 0.9421 GB, free: 9.938 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.8214, allocations: 4 kB / 0.9421 GB, free: 9.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.8214, allocations: 0 / 0.9421 GB, free: 9.934 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001125/0.8225, allocations: 220.1 kB / 0.9423 GB, free: 9.703 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001553/0.8241, allocations: 327.5 kB / 0.9426 GB, free: 9.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006467/0.8305, allocations: 6.782 MB / 0.9492 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001802/0.8323, allocations: 172.6 kB / 0.9494 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000153/0.8325, allocations: 55.95 kB / 0.9494 GB, free: 1.809 MB / 0.7169 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.001033/0.8335, allocations: 483.4 kB / 0.9499 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004722/0.834, allocations: 198.7 kB / 0.9501 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004529/0.8385, allocations: 2.134 MB / 0.9522 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.845e-05/0.8385, allocations: 16 kB / 0.9522 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.8385, allocations: 4 kB / 0.9522 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.562e-05/0.8386, allocations: 7.969 kB / 0.9522 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00728/0.8458, allocations: 3.819 MB / 0.9559 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.8458, allocations: 0 / 0.9559 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001491/0.8473, allocations: 315.5 kB / 0.9562 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009067/0.8482, allocations: 200.1 kB / 0.9564 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001191/0.8484, allocations: 47.91 kB / 0.9565 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006181/0.8545, allocations: 6.827 MB / 0.9631 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.8545, allocations: 4.031 kB / 0.9631 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004502/0.859, allocations: 2.01 MB / 0.9651 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001154/0.8602, allocations: 462 kB / 0.9655 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003112/0.8605, allocations: 31.98 kB / 0.9656 GB, free: 0.5391 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001366/0.8619, allocations: 99.91 kB / 0.9657 GB, free: 452 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002855/0.8622, allocations: 125 kB / 0.9658 GB, free: 328 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001623/0.8623, allocations: 71.95 kB / 0.9659 GB, free: 256 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003639/0.866, allocations: 3.136 MB / 0.9689 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.61e-07/0.866, allocations: 0 / 0.9689 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002046/0.868, allocations: 0.6899 MB / 0.9696 GB, free: 12.43 MB / 0.7481 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.00683/0.8748, allocations: 3.233 MB / 0.9728 GB, free: 9.398 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003638/0.8785, allocations: 2 MB / 0.9747 GB, free: 7.332 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/0.8785, allocations: 0.6562 kB / 0.9747 GB, free: 7.332 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002141/0.8806, allocations: 1.375 MB / 0.976 GB, free: 5.895 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002617/0.8832, allocations: 0.5537 MB / 0.9766 GB, free: 5.363 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03153/0.9148, allocations: 20.89 MB / 0.997 GB, free: 244 kB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001116/0.9159, allocations: 0.9534 MB / 0.9979 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.00181/0.9177, allocations: 0.5213 MB / 0.9984 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001319/0.919, allocations: 0.917 MB / 0.9993 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of SimCode: time 6.91e-07/0.919, allocations: 0 / 0.9993 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1139/1.033, allocations: 52.58 MB / 1.051 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.99/18.03, allocations: 10.92 kB / 1.051 GB, free: 9.879 MB / 0.8262 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: 22.013836829108186] Failed to read output from testmodel.py, exit status != 0: 18.32489488099236 18.341457846 17.581866113 Calling exit ...