Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions.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.001382/0.001382, allocations: 119.2 kB / 19.69 MB, free: 2.199 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.001566/0.001566, allocations: 225.6 kB / 23.01 MB, free: 5.043 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.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 7.965 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.9254/0.9254, allocations: 150 MB / 463.2 MB, free: 10.46 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.Validation.Outside_CpData_Directions,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Validation_Outside_CpData_Directions",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.002153/0.002153, allocations: 70.86 kB / 0.6413 GB, free: 10.36 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1789, allocations: 89.17 MB / 0.7283 GB, free: 1.254 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.6048/0.7836, allocations: 172.1 MB / 0.8964 GB, free: 11.23 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02664/0.8102, allocations: 17.75 MB / 0.9137 GB, free: 9.434 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002087/0.8123, allocations: 39.62 kB / 0.9138 GB, free: 9.395 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002446/0.8148, allocations: 0.6012 MB / 0.9144 GB, free: 8.789 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.006338/0.8211, allocations: 1.853 MB / 0.9162 GB, free: 6.934 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004389/0.8255, allocations: 1.505 MB / 0.9176 GB, free: 5.445 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004589/0.8301, allocations: 2.919 MB / 0.9205 GB, free: 2.516 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003254/0.8334, allocations: 1.607 MB / 0.9221 GB, free: 0.8516 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005471/0.8388, allocations: 1.523 MB / 0.9235 GB, free: 15.39 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002349/0.8412, allocations: 1.159 MB / 0.9247 GB, free: 14.22 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0007793/0.842, allocations: 228 kB / 0.9249 GB, free: 14 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004079/0.846, allocations: 1.669 MB / 0.9265 GB, free: 12.33 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001206/0.8472, allocations: 0.8218 MB / 0.9273 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.002817/0.8501, allocations: 1.286 MB / 0.9286 GB, free: 10.21 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.007759/0.8578, allocations: 3.798 MB / 0.9323 GB, free: 6.398 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.8578, allocations: 0 / 0.9323 GB, free: 6.398 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.505e-06/0.8578, allocations: 4 kB / 0.9323 GB, free: 6.395 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.00015/0.858, allocations: 0 / 0.9323 GB, free: 6.395 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: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.007682/0.8657, allocations: 2.965 MB / 0.9352 GB, free: 3.383 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.8657, allocations: 12.03 kB / 0.9352 GB, free: 3.371 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005937/0.8663, allocations: 248.8 kB / 0.9354 GB, free: 3.117 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004845/0.8711, allocations: 0.6344 MB / 0.9361 GB, free: 2.48 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005472/0.8766, allocations: 3.374 MB / 0.9394 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001563/0.8768, allocations: 131.4 kB / 0.9395 GB, free: 14.94 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004102/0.8772, allocations: 171.9 kB / 0.9396 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004287/0.8815, allocations: 1.956 MB / 0.9416 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.326e-05/0.8815, allocations: 3.938 kB / 0.9416 GB, free: 12.76 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002193/0.8817, allocations: 79.94 kB / 0.9416 GB, free: 12.68 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.982e-05/0.8818, allocations: 40 kB / 0.9417 GB, free: 12.64 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004163/0.8859, allocations: 2.113 MB / 0.9437 GB, free: 10.53 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01234/0.8983, allocations: 6.866 MB / 0.9504 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003729/0.902, allocations: 1.744 MB / 0.9521 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001384/0.9034, allocations: 0.7139 MB / 0.9528 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004936/0.9039, allocations: 121.2 kB / 0.953 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002069/0.9059, allocations: 1.014 MB / 0.954 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 4.178e-06/0.9059, allocations: 0 / 0.954 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of matching and sorting (n=146): time 0.007348/0.9133, allocations: 2.629 MB / 0.9565 GB, free: 13 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001541/0.9134, allocations: 209.2 kB / 0.9567 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005969/0.9194, allocations: 4.098 MB / 0.9607 GB, free: 8.648 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003624/0.9198, allocations: 65.64 kB / 0.9608 GB, free: 8.578 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001034/0.9208, allocations: 0.9194 MB / 0.9617 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006621/0.9215, allocations: 0.4919 MB / 0.9622 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005511/0.922, allocations: 238.8 kB / 0.9624 GB, free: 6.91 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000186/0.9222, allocations: 353.9 kB / 0.9627 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001261/0.9235, allocations: 0.5882 MB / 0.9633 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001522/0.925, allocations: 0.8008 MB / 0.9641 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002594/0.9276, allocations: 1.337 MB / 0.9654 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.9276, allocations: 0 / 0.9654 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004432/0.932, allocations: 1.812 MB / 0.9672 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.833e-05/0.9321, allocations: 8 kB / 0.9672 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.9321, allocations: 0 / 0.9672 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001107/0.9332, allocations: 212.1 kB / 0.9674 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001553/0.9347, allocations: 327.6 kB / 0.9677 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006923/0.9417, allocations: 6.824 MB / 0.9743 GB, free: 9.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001816/0.9435, allocations: 175.2 kB / 0.9745 GB, free: 9.809 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002042/0.9437, allocations: 47.97 kB / 0.9746 GB, free: 9.762 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 (145): * Single equations (assignments): 140 * 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.001388/0.9451, allocations: 492.2 kB / 0.975 GB, free: 9.273 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008028/0.9459, allocations: 206.7 kB / 0.9752 GB, free: 9.07 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00516/0.951, allocations: 2.158 MB / 0.9773 GB, free: 6.883 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.631e-05/0.951, allocations: 16 kB / 0.9773 GB, free: 6.867 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.326e-05/0.9511, allocations: 0 / 0.9773 GB, free: 6.867 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.718e-05/0.9511, allocations: 7.969 kB / 0.9774 GB, free: 6.859 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008597/0.9597, allocations: 4.116 MB / 0.9814 GB, free: 2.676 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.9597, allocations: 0 / 0.9814 GB, free: 2.676 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001526/0.9612, allocations: 319.5 kB / 0.9817 GB, free: 2.363 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009055/0.9621, allocations: 196.1 kB / 0.9819 GB, free: 2.156 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000131/0.9622, allocations: 43.95 kB / 0.9819 GB, free: 2.113 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00658/0.9688, allocations: 6.866 MB / 0.9886 GB, free: 10.66 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.9688, allocations: 0 / 0.9886 GB, free: 10.66 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004663/0.9735, allocations: 2.029 MB / 0.9906 GB, free: 8.598 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001363/0.9748, allocations: 458.1 kB / 0.991 GB, free: 8.148 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004709/0.9753, allocations: 35.89 kB / 0.9911 GB, free: 8.113 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001558/0.9769, allocations: 107.9 kB / 0.9912 GB, free: 8.008 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002817/0.9772, allocations: 121.1 kB / 0.9913 GB, free: 7.887 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001981/0.9774, allocations: 75.94 kB / 0.9914 GB, free: 7.812 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.004085/0.9814, allocations: 3.152 MB / 0.9944 GB, free: 4.668 MB / 0.7637 GB Notification: Performance of sort global known variables: time 4.31e-07/0.9814, allocations: 0 / 0.9944 GB, free: 4.668 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002442/0.9839, allocations: 0.6938 MB / 0.9951 GB, free: 3.973 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.007562/0.9914, allocations: 3.224 MB / 0.9983 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.004199/0.9956, allocations: 2.023 MB / 1 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.254e-05/0.9957, allocations: 8.641 kB / 1 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.002477/0.9981, allocations: 1.375 MB / 1.002 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003315/1.001, allocations: 0.5508 MB / 1.002 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03704/1.038, allocations: 21.16 MB / 1.023 GB, free: 7.453 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001698/1.04, allocations: 1.538 MB / 1.024 GB, free: 5.887 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.00199/1.042, allocations: 0.5291 MB / 1.025 GB, free: 5.352 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001499/1.044, allocations: 0.9093 MB / 1.026 GB, free: 4.441 MB / 0.795 GB Notification: Performance of SimCode: time 9.62e-07/1.044, allocations: 0 / 1.026 GB, free: 4.441 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1227/1.166, allocations: 50.91 MB / 1.075 GB, free: 1.945 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.22/18.38, allocations: 4.062 kB / 1.075 GB, free: 1.941 MB / 0.8419 GB " [Timeout remaining time 641] (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Validation_Outside_CpData_Directions_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Validation_Outside_CpData_Directions.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.60634641489014] Failed to read output from testmodel.py, exit status != 0: 18.625613815151155 18.952331226 18.091074635 Calling exit ...