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.001246/0.001246, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.001433/0.001433, allocations: 215.2 kB / 23.78 MB, free: 4.523 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.395/1.395, allocations: 230.6 MB / 257.6 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.9533/0.9533, allocations: 150 MB / 463.9 MB, free: 10.27 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Validation_Outside_CpData_Directions",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.002705/0.002705, allocations: 61.91 kB / 0.6419 GB, free: 9.945 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.193, allocations: 89.18 MB / 0.729 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.5374/0.7304, allocations: 148.2 MB / 0.8738 GB, free: 0.7695 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02428/0.7547, allocations: 16.19 MB / 0.8896 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001648/0.7564, allocations: 43.62 kB / 0.8896 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00203/0.7584, allocations: 0.5662 MB / 0.8902 GB, free: 15.92 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005774/0.7642, allocations: 1.849 MB / 0.892 GB, free: 14.07 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003949/0.7681, allocations: 1.474 MB / 0.8934 GB, free: 12.62 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004083/0.7722, allocations: 2.907 MB / 0.8963 GB, free: 9.699 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002973/0.7752, allocations: 1.614 MB / 0.8979 GB, free: 8.027 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004826/0.78, allocations: 1.525 MB / 0.8993 GB, free: 6.559 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002133/0.7821, allocations: 1.163 MB / 0.9005 GB, free: 5.391 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0007648/0.7829, allocations: 224 kB / 0.9007 GB, free: 5.172 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003834/0.7867, allocations: 1.486 MB / 0.9021 GB, free: 3.684 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001236/0.788, allocations: 0.8178 MB / 0.9029 GB, free: 2.863 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002225/0.7902, allocations: 1.054 MB / 0.904 GB, free: 1.805 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.006698/0.7969, allocations: 3.81 MB / 0.9077 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.7969, allocations: 0 / 0.9077 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7969, allocations: 0 / 0.9077 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001325/0.797, allocations: 4 kB / 0.9077 GB, free: 13.97 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.007097/0.8041, allocations: 2.961 MB / 0.9106 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.8042, allocations: 8.031 kB / 0.9106 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.117e-05/0.8042, allocations: 43.39 kB / 0.9106 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005222/0.8048, allocations: 252.8 kB / 0.9109 GB, free: 10.66 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005034/0.8098, allocations: 0.6384 MB / 0.9115 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005675/0.8155, allocations: 3.378 MB / 0.9148 GB, free: 6.602 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001682/0.8156, allocations: 135.3 kB / 0.9149 GB, free: 6.469 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004809/0.8161, allocations: 164 kB / 0.9151 GB, free: 6.309 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00534/0.8215, allocations: 2.717 MB / 0.9177 GB, free: 3.355 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.09e-05/0.8215, allocations: 0 / 0.9177 GB, free: 3.355 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002856/0.8218, allocations: 79.98 kB / 0.9178 GB, free: 3.277 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.301e-05/0.8218, allocations: 40 kB / 0.9179 GB, free: 3.238 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004639/0.8265, allocations: 2.12 MB / 0.9199 GB, free: 1.113 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01221/0.8387, allocations: 5.116 MB / 0.9249 GB, free: 11.91 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003853/0.8426, allocations: 1.746 MB / 0.9266 GB, free: 10.16 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001471/0.844, allocations: 0.71 MB / 0.9273 GB, free: 9.445 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004917/0.8445, allocations: 117.2 kB / 0.9274 GB, free: 9.332 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002492/0.847, allocations: 1.612 MB / 0.929 GB, free: 7.551 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=146): time 4.528e-06/0.847, allocations: 0 / 0.929 GB, free: 7.551 MB / 0.7012 GB Notification: Performance of matching and sorting (n=146): time 0.007597/0.8546, allocations: 2.64 MB / 0.9316 GB, free: 4.891 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001472/0.8548, allocations: 205.2 kB / 0.9318 GB, free: 4.648 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005606/0.8604, allocations: 4.098 MB / 0.9358 GB, free: 0.5469 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0003241/0.8607, allocations: 57.7 kB / 0.9358 GB, free: 496 kB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001002/0.8617, allocations: 0.9233 MB / 0.9367 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006648/0.8624, allocations: 0.4918 MB / 0.9372 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00058/0.8629, allocations: 242.8 kB / 0.9375 GB, free: 14.81 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002522/0.8632, allocations: 353.9 kB / 0.9378 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001299/0.8645, allocations: 0.5843 MB / 0.9384 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001783/0.8663, allocations: 1.234 MB / 0.9396 GB, free: 12.47 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002703/0.869, allocations: 1.337 MB / 0.9409 GB, free: 11.13 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.869, allocations: 4 kB / 0.9409 GB, free: 11.13 MB / 0.7169 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004629/0.8736, allocations: 1.812 MB / 0.9426 GB, free: 9.293 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.8736, allocations: 4 kB / 0.9426 GB, free: 9.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.8736, allocations: 0 / 0.9426 GB, free: 9.289 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001142/0.8748, allocations: 220.1 kB / 0.9429 GB, free: 9.059 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001681/0.8765, allocations: 327.6 kB / 0.9432 GB, free: 8.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007424/0.8839, allocations: 6.792 MB / 0.9498 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001878/0.8858, allocations: 169.5 kB / 0.95 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003697/0.8861, allocations: 51.97 kB / 0.95 GB, free: 1.156 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.001311/0.8874, allocations: 489.4 kB / 0.9505 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007733/0.8882, allocations: 214.6 kB / 0.9507 GB, free: 468 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005547/0.8938, allocations: 2.142 MB / 0.9528 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.926e-05/0.8938, allocations: 23.94 kB / 0.9528 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/0.8938, allocations: 0 / 0.9528 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.754e-05/0.8938, allocations: 7.969 kB / 0.9528 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008571/0.9024, allocations: 3.84 MB / 0.9566 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.9024, allocations: 0 / 0.9566 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001557/0.9039, allocations: 327.5 kB / 0.9569 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009347/0.9049, allocations: 196.1 kB / 0.9571 GB, free: 9.816 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001337/0.905, allocations: 43.95 kB / 0.9571 GB, free: 9.773 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007222/0.9122, allocations: 6.827 MB / 0.9638 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.9122, allocations: 4.031 kB / 0.9638 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005188/0.9174, allocations: 2.037 MB / 0.9658 GB, free: 292 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001305/0.9187, allocations: 454.1 kB / 0.9662 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005073/0.9192, allocations: 35.94 kB / 0.9662 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001676/0.9209, allocations: 112.8 kB / 0.9663 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003557/0.9213, allocations: 121.1 kB / 0.9664 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002164/0.9215, allocations: 79.89 kB / 0.9665 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.004314/0.9258, allocations: 3.145 MB / 0.9696 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9258, allocations: 4 kB / 0.9696 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002483/0.9283, allocations: 0.6937 MB / 0.9703 GB, free: 11.66 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.007825/0.9361, allocations: 3.256 MB / 0.9735 GB, free: 8.609 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.004634/0.9407, allocations: 2.02 MB / 0.9754 GB, free: 6.523 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/0.9408, allocations: 0.8906 kB / 0.9754 GB, free: 6.523 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002542/0.9433, allocations: 1.383 MB / 0.9768 GB, free: 5.078 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003668/0.947, allocations: 0.5508 MB / 0.9773 GB, free: 4.543 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03529/0.9823, allocations: 21.16 MB / 0.998 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001516/0.9838, allocations: 0.9549 MB / 0.9989 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.002115/0.9859, allocations: 0.5252 MB / 0.9994 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001542/0.9874, allocations: 0.9131 MB / 1 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of SimCode: time 9.72e-07/0.9874, allocations: 0 / 1 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1154/1.103, allocations: 53.02 MB / 1.052 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.05/18.15, allocations: 4.062 kB / 1.052 GB, free: 8.359 MB / 0.8262 GB " [Timeout remaining time 642] (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.215945109026507] Failed to read output from testmodel.py, exit status != 0: 18.458284880034626 18.482353671 17.680693288 Calling exit ...