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.001368/0.001368, 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.001795/0.001795, allocations: 214.3 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.394/1.394, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.937/0.937, allocations: 149.9 MB / 463 MB, free: 10.36 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.002059/0.002059, allocations: 67.77 kB / 0.6411 GB, free: 10.16 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.181, allocations: 89.17 MB / 0.7281 GB, free: 1.062 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.5451/0.7261, allocations: 148.3 MB / 0.873 GB, free: 0.9297 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0257/0.7518, allocations: 16.21 MB / 0.8888 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001896/0.7537, allocations: 43.62 kB / 0.8889 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002346/0.756, allocations: 0.5661 MB / 0.8894 GB, free: 64 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007159/0.7632, allocations: 1.851 MB / 0.8912 GB, free: 14.21 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004576/0.7677, allocations: 1.466 MB / 0.8927 GB, free: 12.76 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004599/0.7723, allocations: 2.91 MB / 0.8955 GB, free: 9.844 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003146/0.7755, allocations: 1.575 MB / 0.897 GB, free: 8.215 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00487/0.7803, allocations: 1.524 MB / 0.8985 GB, free: 6.75 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001973/0.7823, allocations: 1.066 MB / 0.8996 GB, free: 5.68 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0007077/0.783, allocations: 224 kB / 0.8998 GB, free: 5.461 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003533/0.7866, allocations: 1.455 MB / 0.9012 GB, free: 4.004 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.00111/0.7877, allocations: 0.8216 MB / 0.902 GB, free: 3.18 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.00199/0.7897, allocations: 1.05 MB / 0.903 GB, free: 2.125 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.006743/0.7964, allocations: 3.806 MB / 0.9068 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 9.638e-06/0.7964, allocations: 4 kB / 0.9068 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.325e-06/0.7964, allocations: 0 / 0.9068 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001424/0.7966, allocations: 0 / 0.9068 GB, free: 14.3 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: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.00733/0.8039, allocations: 2.957 MB / 0.9096 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.8039, allocations: 12.03 kB / 0.9097 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005873/0.8045, allocations: 252.9 kB / 0.9099 GB, free: 11.03 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004611/0.8091, allocations: 0.6383 MB / 0.9105 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00569/0.8148, allocations: 3.378 MB / 0.9138 GB, free: 6.973 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001635/0.815, allocations: 131.4 kB / 0.9139 GB, free: 6.844 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005033/0.8155, allocations: 171.9 kB / 0.9141 GB, free: 6.676 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004996/0.8205, allocations: 2.713 MB / 0.9168 GB, free: 3.727 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.56e-05/0.8205, allocations: 0 / 0.9168 GB, free: 3.727 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001991/0.8207, allocations: 72 kB / 0.9168 GB, free: 3.656 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.954e-05/0.8208, allocations: 44 kB / 0.9169 GB, free: 3.613 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003877/0.8246, allocations: 2.066 MB / 0.9189 GB, free: 1.543 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01027/0.8349, allocations: 5.122 MB / 0.9239 GB, free: 12.34 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003463/0.8384, allocations: 1.742 MB / 0.9256 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001388/0.8398, allocations: 0.7139 MB / 0.9263 GB, free: 9.867 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004805/0.8402, allocations: 117.2 kB / 0.9264 GB, free: 9.754 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002432/0.8427, allocations: 1.615 MB / 0.928 GB, free: 7.969 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=146): time 3.747e-06/0.8427, allocations: 0 / 0.928 GB, free: 7.969 MB / 0.7012 GB Notification: Performance of matching and sorting (n=146): time 0.007126/0.8498, allocations: 2.636 MB / 0.9305 GB, free: 5.312 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001433/0.8499, allocations: 197.2 kB / 0.9307 GB, free: 5.078 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005566/0.8555, allocations: 4.102 MB / 0.9347 GB, free: 0.9727 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0004335/0.8559, allocations: 57.7 kB / 0.9348 GB, free: 0.9102 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001004/0.8569, allocations: 0.9194 MB / 0.9357 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006637/0.8576, allocations: 0.4995 MB / 0.9362 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004872/0.8581, allocations: 238.9 kB / 0.9364 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002316/0.8583, allocations: 349.9 kB / 0.9367 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001275/0.8596, allocations: 0.5843 MB / 0.9373 GB, free: 14.3 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001665/0.8613, allocations: 1.235 MB / 0.9385 GB, free: 12.9 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002573/0.8638, allocations: 1.337 MB / 0.9398 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/0.8638, allocations: 0 / 0.9398 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004397/0.8682, allocations: 1.819 MB / 0.9416 GB, free: 9.711 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.8683, allocations: 4 kB / 0.9416 GB, free: 9.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.8683, allocations: 0 / 0.9416 GB, free: 9.707 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00109/0.8694, allocations: 212.1 kB / 0.9418 GB, free: 9.484 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001625/0.871, allocations: 339.6 kB / 0.9421 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006538/0.8775, allocations: 6.803 MB / 0.9488 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001928/0.8795, allocations: 170.4 kB / 0.9489 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001879/0.8796, allocations: 47.97 kB / 0.949 GB, free: 1.562 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 (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.001075/0.8807, allocations: 489.6 kB / 0.9495 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005534/0.8813, allocations: 202.7 kB / 0.9496 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004798/0.8861, allocations: 2.154 MB / 0.9517 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.642e-05/0.8861, allocations: 12 kB / 0.9518 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.8861, allocations: 7.938 kB / 0.9518 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.602e-05/0.8861, allocations: 11.97 kB / 0.9518 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008026/0.8941, allocations: 3.836 MB / 0.9555 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/0.8942, allocations: 4 kB / 0.9555 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001467/0.8956, allocations: 319.5 kB / 0.9558 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008981/0.8965, allocations: 204.1 kB / 0.956 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001494/0.8967, allocations: 47.94 kB / 0.9561 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006655/0.9033, allocations: 6.823 MB / 0.9627 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.9033, allocations: 0 / 0.9627 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004803/0.9081, allocations: 2.033 MB / 0.9647 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001758/0.9099, allocations: 466.1 kB / 0.9652 GB, free: 256 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006211/0.9105, allocations: 28 kB / 0.9652 GB, free: 228 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001803/0.9123, allocations: 113.6 kB / 0.9653 GB, free: 116 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003412/0.9126, allocations: 121.1 kB / 0.9654 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002116/0.9129, allocations: 67.91 kB / 0.9655 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.004463/0.9173, allocations: 3.156 MB / 0.9686 GB, free: 12.78 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9173, allocations: 4 kB / 0.9686 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002489/0.9198, allocations: 0.6938 MB / 0.9692 GB, free: 12.08 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.007946/0.9278, allocations: 3.252 MB / 0.9724 GB, free: 9.031 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003962/0.9317, allocations: 2.02 MB / 0.9744 GB, free: 6.945 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.124e-05/0.9317, allocations: 4.891 kB / 0.9744 GB, free: 6.938 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002287/0.934, allocations: 1.383 MB / 0.9758 GB, free: 5.492 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002797/0.9368, allocations: 0.553 MB / 0.9763 GB, free: 4.961 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03554/0.9724, allocations: 21.15 MB / 0.9969 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001448/0.9738, allocations: 0.958 MB / 0.9979 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.002175/0.976, allocations: 0.5291 MB / 0.9984 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00162/0.9776, allocations: 0.9053 MB / 0.9993 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of SimCode: time 9.62e-07/0.9776, allocations: 4 kB / 0.9993 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1219/1.1, allocations: 53.17 MB / 1.051 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.21/16.31, allocations: 3.984 kB / 1.051 GB, free: 8.52 MB / 0.8262 GB " [Timeout remaining time 643] (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: 20.2449289271608] Failed to read output from testmodel.py, exit status != 0: 16.56829236401245 16.593761391 15.792408823 Calling exit ...