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.00183/0.00183, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002188/0.002188, allocations: 213.6 kB / 22.99 MB, free: 4.609 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.436/1.436, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.8938/0.8938, allocations: 149.9 MB / 463 MB, free: 10.33 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData",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.001977/0.001977, allocations: 67.09 kB / 0.6411 GB, free: 10.13 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1663, allocations: 89.18 MB / 0.7282 GB, free: 1.027 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside_CpData): time 0.4983/0.6645, allocations: 148.3 MB / 0.873 GB, free: 0.9922 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02269/0.6872, allocations: 16.21 MB / 0.8888 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001516/0.6887, allocations: 43.62 kB / 0.8888 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001893/0.6906, allocations: 0.5623 MB / 0.8894 GB, free: 140 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005441/0.6961, allocations: 1.835 MB / 0.8912 GB, free: 14.3 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003892/0.6999, allocations: 1.47 MB / 0.8926 GB, free: 12.85 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004272/0.7042, allocations: 2.89 MB / 0.8954 GB, free: 9.949 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002521/0.7067, allocations: 1.579 MB / 0.897 GB, free: 8.316 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004379/0.7111, allocations: 1.513 MB / 0.8985 GB, free: 6.863 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001796/0.7129, allocations: 1.046 MB / 0.8995 GB, free: 5.812 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.000362/0.7133, allocations: 224 kB / 0.8997 GB, free: 5.594 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003113/0.7164, allocations: 1.458 MB / 0.9011 GB, free: 4.133 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0007683/0.7172, allocations: 0.8138 MB / 0.9019 GB, free: 3.316 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001173/0.7183, allocations: 1.046 MB / 0.9029 GB, free: 2.266 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004916/0.7232, allocations: 3.79 MB / 0.9066 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.7233, allocations: 8 kB / 0.9066 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.793e-06/0.7233, allocations: 0 / 0.9066 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.953e-05/0.7233, allocations: 0 / 0.9066 GB, free: 14.45 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.004936/0.7282, allocations: 2.946 MB / 0.9095 GB, free: 11.45 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.7283, allocations: 8.031 kB / 0.9095 GB, free: 11.45 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000309/0.7286, allocations: 248.8 kB / 0.9098 GB, free: 11.19 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004235/0.7328, allocations: 0.6306 MB / 0.9104 GB, free: 10.56 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004661/0.7375, allocations: 3.366 MB / 0.9137 GB, free: 7.156 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001268/0.7376, allocations: 131.4 kB / 0.9138 GB, free: 7.027 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002596/0.7379, allocations: 175.9 kB / 0.914 GB, free: 6.855 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003793/0.7417, allocations: 2.697 MB / 0.9166 GB, free: 3.922 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.32e-05/0.7417, allocations: 0 / 0.9166 GB, free: 3.922 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000169/0.7419, allocations: 79.98 kB / 0.9167 GB, free: 3.844 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.642e-05/0.7419, allocations: 40 kB / 0.9167 GB, free: 3.805 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003582/0.7455, allocations: 2.035 MB / 0.9187 GB, free: 1.766 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009212/0.7547, allocations: 4.965 MB / 0.9235 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003215/0.7579, allocations: 1.711 MB / 0.9252 GB, free: 11 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001253/0.7592, allocations: 0.6983 MB / 0.9259 GB, free: 10.3 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004455/0.7596, allocations: 113.2 kB / 0.926 GB, free: 10.19 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002183/0.7618, allocations: 1.611 MB / 0.9276 GB, free: 8.41 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=146): time 3.637e-06/0.7618, allocations: 0 / 0.9276 GB, free: 8.41 MB / 0.7012 GB Notification: Performance of matching and sorting (n=146): time 0.006709/0.7685, allocations: 2.597 MB / 0.9301 GB, free: 5.789 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001349/0.7686, allocations: 197.2 kB / 0.9303 GB, free: 5.555 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004919/0.7736, allocations: 4.081 MB / 0.9343 GB, free: 1.469 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001427/0.7737, allocations: 57.7 kB / 0.9343 GB, free: 1.406 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008719/0.7746, allocations: 0.9114 MB / 0.9352 GB, free: 496 kB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000478/0.775, allocations: 0.4958 MB / 0.9357 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000393/0.7754, allocations: 242.8 kB / 0.9359 GB, free: 15.74 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001809/0.7756, allocations: 353.9 kB / 0.9363 GB, free: 15.39 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001103/0.7767, allocations: 0.5648 MB / 0.9368 GB, free: 14.82 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001579/0.7783, allocations: 1.224 MB / 0.938 GB, free: 13.43 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002411/0.7807, allocations: 1.314 MB / 0.9393 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.7807, allocations: 0 / 0.9393 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003926/0.7846, allocations: 1.78 MB / 0.941 GB, free: 10.3 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.7847, allocations: 8 kB / 0.9411 GB, free: 10.29 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.7847, allocations: 4.094 kB / 0.9411 GB, free: 10.29 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001064/0.7857, allocations: 208.1 kB / 0.9413 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00146/0.7872, allocations: 327.5 kB / 0.9416 GB, free: 9.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006464/0.7937, allocations: 6.784 MB / 0.9482 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001556/0.7952, allocations: 173.3 kB / 0.9484 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/0.7953, allocations: 52.03 kB / 0.9484 GB, free: 2.18 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.0009476/0.7963, allocations: 485.4 kB / 0.9489 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003814/0.7967, allocations: 202.9 kB / 0.9491 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004459/0.8011, allocations: 2.138 MB / 0.9512 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/0.8011, allocations: 16 kB / 0.9512 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.8011, allocations: 0 / 0.9512 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.48e-05/0.8011, allocations: 7.969 kB / 0.9512 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007195/0.8083, allocations: 3.811 MB / 0.9549 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.8083, allocations: 0 / 0.9549 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001434/0.8098, allocations: 327.6 kB / 0.9552 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008818/0.8107, allocations: 196.1 kB / 0.9554 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.436e-05/0.8108, allocations: 43.91 kB / 0.9554 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006374/0.8171, allocations: 6.819 MB / 0.9621 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.8171, allocations: 0 / 0.9621 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004281/0.8214, allocations: 2.021 MB / 0.9641 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001124/0.8225, allocations: 458 kB / 0.9645 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002262/0.8228, allocations: 28 kB / 0.9645 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001211/0.824, allocations: 112 kB / 0.9646 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002335/0.8242, allocations: 117 kB / 0.9648 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001429/0.8244, allocations: 71.94 kB / 0.9648 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003523/0.8279, allocations: 3.136 MB / 0.9679 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8279, allocations: 0 / 0.9679 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001678/0.8296, allocations: 0.7014 MB / 0.9686 GB, free: 12.79 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.006543/0.8361, allocations: 3.234 MB / 0.9717 GB, free: 9.75 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003494/0.8396, allocations: 2 MB / 0.9737 GB, free: 7.684 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/0.8396, allocations: 4.656 kB / 0.9737 GB, free: 7.68 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002113/0.8417, allocations: 1.364 MB / 0.975 GB, free: 6.254 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00235/0.8441, allocations: 0.5567 MB / 0.9756 GB, free: 5.719 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03088/0.8749, allocations: 20.88 MB / 0.996 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001279/0.8762, allocations: 0.9605 MB / 0.9969 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001973/0.8782, allocations: 0.5252 MB / 0.9974 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001305/0.8795, allocations: 0.9131 MB / 0.9983 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of SimCode: time 6.91e-07/0.8795, allocations: 0 / 0.9983 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1174/0.9969, allocations: 52.75 MB / 1.05 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.83/15.83, allocations: 11.98 kB / 1.05 GB, free: 9.949 MB / 0.8262 GB " [Timeout remaining time 644] (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: 19.731786261312664] Failed to read output from testmodel.py, exit status != 0: 16.072498188819736 16.097204768 15.369398678 Calling exit ...