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.001333/0.001333, allocations: 104.3 kB / 19.7 MB, free: 1.934 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.001572/0.001572, allocations: 219.6 kB / 22.99 MB, free: 4.973 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.385/1.385, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.9694/0.9694, allocations: 149.9 MB / 463.1 MB, free: 10.39 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Specification",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.00199/0.00199, allocations: 62.84 kB / 0.6411 GB, free: 10.2 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1698, allocations: 89.18 MB / 0.7282 GB, free: 1.094 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.5182/0.6881, allocations: 135.9 MB / 0.8608 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01463/0.7027, allocations: 9.951 MB / 0.8705 GB, free: 3.488 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008922/0.7036, allocations: 31.75 kB / 0.8706 GB, free: 3.457 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.000882/0.7045, allocations: 277.7 kB / 0.8708 GB, free: 3.184 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002902/0.7074, allocations: 1.007 MB / 0.8718 GB, free: 2.18 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00269/0.71, allocations: 1.105 MB / 0.8729 GB, free: 1.086 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002122/0.7122, allocations: 1.757 MB / 0.8746 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00128/0.7134, allocations: 0.9202 MB / 0.8755 GB, free: 14.38 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001993/0.7154, allocations: 0.7758 MB / 0.8763 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007614/0.7162, allocations: 0.5677 MB / 0.8768 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002011/0.7164, allocations: 140 kB / 0.877 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002088/0.7185, allocations: 1.014 MB / 0.878 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003822/0.7189, allocations: 390.8 kB / 0.8783 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005851/0.7195, allocations: 0.552 MB / 0.8789 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0032/0.7227, allocations: 2.308 MB / 0.8811 GB, free: 8.637 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.7227, allocations: 0 / 0.8811 GB, free: 8.637 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.134e-06/0.7227, allocations: 4 kB / 0.8811 GB, free: 8.633 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.608e-05/0.7227, allocations: 0 / 0.8811 GB, free: 8.633 MB / 0.6544 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.003178/0.7259, allocations: 1.722 MB / 0.8828 GB, free: 6.871 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.7259, allocations: 8.031 kB / 0.8828 GB, free: 6.863 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001902/0.7261, allocations: 156.1 kB / 0.883 GB, free: 6.703 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002058/0.7282, allocations: 329.2 kB / 0.8833 GB, free: 6.383 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001789/0.7299, allocations: 1.029 MB / 0.8843 GB, free: 5.324 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.526e-05/0.73, allocations: 74 kB / 0.8844 GB, free: 5.254 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/0.7302, allocations: 92 kB / 0.8844 GB, free: 5.164 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002292/0.7324, allocations: 1.486 MB / 0.8859 GB, free: 3.543 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.348e-05/0.7325, allocations: 0 / 0.8859 GB, free: 3.543 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.86e-05/0.7326, allocations: 44 kB / 0.8859 GB, free: 3.5 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.574e-05/0.7326, allocations: 24 kB / 0.886 GB, free: 3.477 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002326/0.7349, allocations: 1.276 MB / 0.8872 GB, free: 2.203 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005251/0.7402, allocations: 2.771 MB / 0.8899 GB, free: 15.36 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002029/0.7422, allocations: 0.9781 MB / 0.8909 GB, free: 14.38 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007852/0.743, allocations: 393.5 kB / 0.8912 GB, free: 14 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002206/0.7432, allocations: 52.95 kB / 0.8913 GB, free: 13.95 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001316/0.7445, allocations: 0.8474 MB / 0.8921 GB, free: 13.02 MB / 0.67 GB Notification: Performance of pre-optimization done (n=95): time 5.21e-06/0.7445, allocations: 4 kB / 0.8921 GB, free: 13.02 MB / 0.67 GB Notification: Performance of matching and sorting (n=95): time 0.004177/0.7487, allocations: 1.485 MB / 0.8936 GB, free: 11.52 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001391/0.7488, allocations: 200.9 kB / 0.8938 GB, free: 11.29 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/0.7502, allocations: 1.044 MB / 0.8948 GB, free: 10.23 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.121e-05/0.7503, allocations: 49.69 kB / 0.8948 GB, free: 10.18 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004251/0.7507, allocations: 481.2 kB / 0.8953 GB, free: 9.699 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003001/0.751, allocations: 329.2 kB / 0.8956 GB, free: 9.375 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002673/0.7513, allocations: 162.6 kB / 0.8958 GB, free: 9.207 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.7515, allocations: 345.9 kB / 0.8961 GB, free: 8.863 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00071/0.7522, allocations: 325.8 kB / 0.8964 GB, free: 8.547 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000965/0.7531, allocations: 0.6666 MB / 0.8971 GB, free: 7.793 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001693/0.7548, allocations: 0.7687 MB / 0.8978 GB, free: 7.012 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.7548, allocations: 0 / 0.8978 GB, free: 7.012 MB / 0.67 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002502/0.7573, allocations: 1.045 MB / 0.8988 GB, free: 5.957 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.7574, allocations: 4 kB / 0.8988 GB, free: 5.953 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.7574, allocations: 0 / 0.8988 GB, free: 5.953 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007411/0.7581, allocations: 118.7 kB / 0.8989 GB, free: 5.832 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008628/0.759, allocations: 195.8 kB / 0.8991 GB, free: 5.641 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00336/0.7623, allocations: 2.846 MB / 0.9019 GB, free: 2.562 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008396/0.7632, allocations: 115.5 kB / 0.902 GB, free: 2.449 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.798e-05/0.7633, allocations: 31.98 kB / 0.902 GB, free: 2.418 MB / 0.67 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.0005563/0.7638, allocations: 317.7 kB / 0.9023 GB, free: 2.098 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002364/0.7641, allocations: 107.3 kB / 0.9025 GB, free: 1.992 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003214/0.7673, allocations: 1.325 MB / 0.9037 GB, free: 0.6562 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.729e-06/0.7673, allocations: 11.94 kB / 0.9038 GB, free: 0.6445 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.7673, allocations: 0 / 0.9038 GB, free: 0.6445 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/0.7673, allocations: 11.97 kB / 0.9038 GB, free: 0.6328 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004907/0.7722, allocations: 2.275 MB / 0.906 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.7722, allocations: 0 / 0.906 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008221/0.773, allocations: 187.7 kB / 0.9062 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005796/0.7736, allocations: 105.6 kB / 0.9063 GB, free: 14 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.129e-05/0.7737, allocations: 27.98 kB / 0.9063 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00319/0.7769, allocations: 2.879 MB / 0.9091 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.7769, allocations: 0 / 0.9091 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002836/0.7797, allocations: 1.241 MB / 0.9103 GB, free: 9.602 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006204/0.7803, allocations: 255 kB / 0.9106 GB, free: 9.352 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001985/0.7805, allocations: 20 kB / 0.9106 GB, free: 9.332 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008919/0.7814, allocations: 86.62 kB / 0.9107 GB, free: 9.25 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001893/0.7816, allocations: 88.83 kB / 0.9107 GB, free: 9.164 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/0.7817, allocations: 47.97 kB / 0.9108 GB, free: 9.117 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.00116/0.7829, allocations: 0.7645 MB / 0.9115 GB, free: 8.359 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.7829, allocations: 0 / 0.9115 GB, free: 8.359 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001362/0.7842, allocations: 454.9 kB / 0.912 GB, free: 7.914 MB / 0.6856 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.005528/0.7898, allocations: 2.432 MB / 0.9143 GB, free: 5.691 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002365/0.7921, allocations: 1.076 MB / 0.9154 GB, free: 4.59 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.7921, allocations: 0 / 0.9154 GB, free: 4.59 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001346/0.7935, allocations: 0.7098 MB / 0.9161 GB, free: 3.852 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00164/0.7951, allocations: 361.8 kB / 0.9164 GB, free: 3.52 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0161/0.8112, allocations: 8.445 MB / 0.9247 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007414/0.812, allocations: 0.5166 MB / 0.9252 GB, free: 10.37 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001168/0.8131, allocations: 312.1 kB / 0.9255 GB, free: 10.06 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008275/0.814, allocations: 475.2 kB / 0.9259 GB, free: 9.598 MB / 0.7012 GB Notification: Performance of SimCode: time 8.61e-07/0.814, allocations: 0 / 0.9259 GB, free: 9.598 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08142/0.8954, allocations: 30.58 MB / 0.9558 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.78/14.68, allocations: 9.078 kB / 0.9558 GB, free: 11.38 MB / 0.7325 GB " [Timeout remaining time 645] (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: 18.487131638918072] Failed to read output from testmodel.py, exit status != 0: 14.909980630967766 14.933565456 14.20640684 Calling exit ...