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.00124/0.00124, allocations: 114.9 kB / 17.84 MB, free: 5.312 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.001301/0.001301, allocations: 201.6 kB / 20.8 MB, free: 2.371 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.414/1.414, allocations: 230.6 MB / 254.2 MB, free: 15.07 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.9399/0.9399, allocations: 150 MB / 460.2 MB, free: 5.727 MB / 350.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.001944/0.001944, allocations: 67.34 kB / 0.6368 GB, free: 30.32 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1664, allocations: 89.13 MB / 0.7238 GB, free: 4.109 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.6134/0.7798, allocations: 171.9 MB / 0.8917 GB, free: 2.891 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02172/0.8015, allocations: 17.55 MB / 0.9089 GB, free: 2.48 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002849/0.8043, allocations: 44.97 kB / 0.9089 GB, free: 2.48 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002487/0.8068, allocations: 0.5994 MB / 0.9095 GB, free: 2.465 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007493/0.8143, allocations: 1.825 MB / 0.9113 GB, free: 2.398 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004377/0.8187, allocations: 1.468 MB / 0.9127 GB, free: 2.344 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004386/0.8231, allocations: 2.901 MB / 0.9155 GB, free: 2.336 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002442/0.8255, allocations: 1.618 MB / 0.9171 GB, free: 2.141 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004747/0.8303, allocations: 1.51 MB / 0.9186 GB, free: 2.125 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002055/0.8323, allocations: 1.158 MB / 0.9197 GB, free: 1.91 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.000699/0.833, allocations: 223.1 kB / 0.9199 GB, free: 1.91 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004399/0.8374, allocations: 1.638 MB / 0.9215 GB, free: 1.883 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001261/0.8387, allocations: 0.8202 MB / 0.9223 GB, free: 1.773 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002634/0.8413, allocations: 1.283 MB / 0.9236 GB, free: 1.391 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.007417/0.8487, allocations: 3.803 MB / 0.9273 GB, free: 0.7969 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.8487, allocations: 0 / 0.9273 GB, free: 0.7969 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8487, allocations: 7.938 kB / 0.9273 GB, free: 0.7891 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001642/0.8489, allocations: 0 / 0.9273 GB, free: 0.7891 MB / 0.67 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.008193/0.8571, allocations: 3.034 MB / 0.9303 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.8571, allocations: 10.19 kB / 0.9303 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.075e-05/0.8572, allocations: 44.08 kB / 0.9303 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006397/0.8578, allocations: 250.9 kB / 0.9306 GB, free: 15.23 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00478/0.8626, allocations: 0.636 MB / 0.9312 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004438/0.8671, allocations: 3.461 MB / 0.9346 GB, free: 14.56 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001196/0.8672, allocations: 137.7 kB / 0.9347 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002384/0.8674, allocations: 164.7 kB / 0.9348 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003514/0.8709, allocations: 1.955 MB / 0.9368 GB, free: 13.72 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.911e-05/0.871, allocations: 2.156 kB / 0.9368 GB, free: 13.72 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001832/0.8711, allocations: 71.28 kB / 0.9368 GB, free: 13.67 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.594e-05/0.8712, allocations: 44.16 kB / 0.9369 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00362/0.8748, allocations: 2.115 MB / 0.9389 GB, free: 13.13 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01132/0.8861, allocations: 6.937 MB / 0.9457 GB, free: 8.023 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003667/0.8898, allocations: 2.052 MB / 0.9477 GB, free: 6.859 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001367/0.8912, allocations: 0.7121 MB / 0.9484 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007124/0.8919, allocations: 429.7 kB / 0.9488 GB, free: 6.109 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001885/0.8938, allocations: 1.013 MB / 0.9498 GB, free: 5.535 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=146): time 3.006e-06/0.8938, allocations: 0 / 0.9498 GB, free: 5.535 MB / 0.6856 GB Notification: Performance of matching and sorting (n=146): time 0.007506/0.9013, allocations: 3.011 MB / 0.9527 GB, free: 3.836 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001541/0.9014, allocations: 205.2 kB / 0.9529 GB, free: 3.605 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005409/0.9068, allocations: 4.099 MB / 0.9569 GB, free: 1.133 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0004024/0.9072, allocations: 53.7 kB / 0.957 GB, free: 1.074 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009747/0.9082, allocations: 0.9271 MB / 0.9579 GB, free: 140 kB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006962/0.9089, allocations: 0.493 MB / 0.9584 GB, free: 15.65 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004724/0.9094, allocations: 234.8 kB / 0.9586 GB, free: 15.41 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001839/0.9096, allocations: 353.9 kB / 0.9589 GB, free: 15.06 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001306/0.9109, allocations: 0.5843 MB / 0.9595 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001534/0.9124, allocations: 0.811 MB / 0.9603 GB, free: 13.61 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002669/0.9151, allocations: 1.338 MB / 0.9616 GB, free: 12.26 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.411e-06/0.9151, allocations: 4 kB / 0.9616 GB, free: 12.26 MB / 0.7012 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004718/0.9198, allocations: 1.802 MB / 0.9634 GB, free: 10.44 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.107e-05/0.9198, allocations: 8 kB / 0.9634 GB, free: 10.43 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.9198, allocations: 0 / 0.9634 GB, free: 10.43 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001145/0.921, allocations: 218.7 kB / 0.9636 GB, free: 10.21 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001715/0.9227, allocations: 324.5 kB / 0.9639 GB, free: 9.902 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007114/0.9298, allocations: 7.335 MB / 0.9711 GB, free: 1.898 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002113/0.9319, allocations: 167.2 kB / 0.9712 GB, free: 1.734 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001621/0.9321, allocations: 51.97 kB / 0.9713 GB, free: 1.684 MB / 0.7012 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.001156/0.9332, allocations: 486.1 kB / 0.9717 GB, free: 1.215 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007007/0.9339, allocations: 206.6 kB / 0.9719 GB, free: 1.012 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005165/0.9391, allocations: 2.16 MB / 0.974 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.719e-05/0.9391, allocations: 16 kB / 0.9741 GB, free: 14.82 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.9391, allocations: 7.938 kB / 0.9741 GB, free: 14.81 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.047e-05/0.9391, allocations: 7.969 kB / 0.9741 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008341/0.9475, allocations: 4.144 MB / 0.9781 GB, free: 10.63 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/0.9475, allocations: 8 kB / 0.9781 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001501/0.949, allocations: 323.1 kB / 0.9784 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009135/0.9499, allocations: 200.1 kB / 0.9786 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000132/0.95, allocations: 39.97 kB / 0.9787 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006758/0.9568, allocations: 7.366 MB / 0.9859 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.9568, allocations: 0 / 0.9859 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004953/0.9618, allocations: 2.028 MB / 0.9878 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001212/0.963, allocations: 0.5264 MB / 0.9884 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002948/0.9633, allocations: 28 kB / 0.9884 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001386/0.9646, allocations: 121.5 kB / 0.9885 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002865/0.9649, allocations: 109.2 kB / 0.9886 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001884/0.9651, allocations: 75.88 kB / 0.9887 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003897/0.969, allocations: 3.148 MB / 0.9918 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.969, allocations: 3.938 kB / 0.9918 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002465/0.9715, allocations: 0.6976 MB / 0.9924 GB, free: 11.28 MB / 0.7325 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.007346/0.9788, allocations: 3.218 MB / 0.9956 GB, free: 8.242 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004205/0.983, allocations: 2.027 MB / 0.9976 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/0.983, allocations: 8.547 kB / 0.9976 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002376/0.9854, allocations: 1.36 MB / 0.9989 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002833/0.9883, allocations: 0.5594 MB / 0.9994 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03563/1.024, allocations: 21.17 MB / 1.02 GB, free: 14.88 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001429/1.025, allocations: 1.541 MB / 1.022 GB, free: 13.3 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.00201/1.027, allocations: 0.5252 MB / 1.022 GB, free: 12.77 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001528/1.029, allocations: 0.9053 MB / 1.023 GB, free: 11.87 MB / 0.7637 GB Notification: Performance of SimCode: time 1.984e-06/1.029, allocations: 4 kB / 1.023 GB, free: 11.86 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1081/1.137, allocations: 49.98 MB / 1.072 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.37/17.51, allocations: 0 / 1.072 GB, free: 10.46 MB / 0.8106 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: 21.583663124009036] Failed to read output from testmodel.py, exit status != 0: 17.78920812997967 17.804547579 16.952603132 Calling exit ...