Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.001752/0.001752, allocations: 104.3 kB / 19.7 MB, free: 2.09 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.002263/0.002263, allocations: 209.6 kB / 22.99 MB, free: 4.926 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.522/1.522, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.9953/0.9953, allocations: 149.9 MB / 463 MB, free: 10.37 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.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",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.002236/0.002236, allocations: 62.83 kB / 0.641 GB, free: 10.21 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1778, allocations: 89.18 MB / 0.7281 GB, free: 1.09 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.009266/0.1871, allocations: 6.247 MB / 0.7342 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5538/0.7409, allocations: 133.2 MB / 0.8643 GB, free: 9.914 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001087/0.742, allocations: 27.81 kB / 0.8644 GB, free: 9.887 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0008013/0.7428, allocations: 271.6 kB / 0.8646 GB, free: 9.621 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002502/0.7453, allocations: 0.7966 MB / 0.8654 GB, free: 8.848 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002443/0.7477, allocations: 1.04 MB / 0.8664 GB, free: 7.832 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002597/0.7503, allocations: 2.117 MB / 0.8685 GB, free: 5.707 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001218/0.7515, allocations: 0.7251 MB / 0.8692 GB, free: 4.93 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001299/0.7528, allocations: 0.8605 MB / 0.87 GB, free: 4.066 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002141/0.755, allocations: 0.7853 MB / 0.8708 GB, free: 3.277 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.00088/0.7558, allocations: 220 kB / 0.871 GB, free: 3.062 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001973/0.7578, allocations: 0.5954 MB / 0.8716 GB, free: 2.469 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006443/0.7585, allocations: 498.5 kB / 0.8721 GB, free: 1.98 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001104/0.7596, allocations: 0.7933 MB / 0.8728 GB, free: 1.184 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00408/0.7636, allocations: 2.734 MB / 0.8755 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.857e-06/0.7637, allocations: 4 kB / 0.8755 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.836e-06/0.7637, allocations: 0 / 0.8755 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.725e-05/0.7637, allocations: 4 kB / 0.8755 GB, free: 14.44 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: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.00416/0.7679, allocations: 2.047 MB / 0.8775 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.7679, allocations: 12.03 kB / 0.8775 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002684/0.7682, allocations: 228.2 kB / 0.8777 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002995/0.7712, allocations: 407.4 kB / 0.8781 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001928/0.7731, allocations: 0.9574 MB / 0.8791 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001906/0.7733, allocations: 166.5 kB / 0.8792 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002256/0.7735, allocations: 152 kB / 0.8794 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003138/0.7767, allocations: 1.867 MB / 0.8812 GB, free: 8.41 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.244e-05/0.7767, allocations: 0 / 0.8812 GB, free: 8.41 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001425/0.7768, allocations: 68 kB / 0.8813 GB, free: 8.344 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.513e-05/0.7769, allocations: 40 kB / 0.8813 GB, free: 8.305 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002792/0.7797, allocations: 1.542 MB / 0.8828 GB, free: 6.758 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007259/0.7869, allocations: 3.741 MB / 0.8865 GB, free: 2.934 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001974/0.7889, allocations: 1.024 MB / 0.8875 GB, free: 1.906 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007471/0.7896, allocations: 391.7 kB / 0.8878 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.048e-05/0.7897, allocations: 36.97 kB / 0.8879 GB, free: 1.484 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001364/0.7911, allocations: 0.8312 MB / 0.8887 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=111): time 2.825e-06/0.7911, allocations: 0 / 0.8887 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of matching and sorting (n=111): time 0.004328/0.7954, allocations: 1.59 MB / 0.8902 GB, free: 15.01 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001409/0.7956, allocations: 196.9 kB / 0.8904 GB, free: 14.77 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001439/0.797, allocations: 0.8727 MB / 0.8913 GB, free: 13.88 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001256/0.7971, allocations: 49.7 kB / 0.8913 GB, free: 13.82 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006951/0.7978, allocations: 0.6378 MB / 0.8919 GB, free: 13.18 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003714/0.7982, allocations: 376.8 kB / 0.8923 GB, free: 12.8 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003413/0.7985, allocations: 202.8 kB / 0.8925 GB, free: 12.6 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.7987, allocations: 353.7 kB / 0.8928 GB, free: 12.25 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007733/0.7995, allocations: 378.9 kB / 0.8932 GB, free: 11.88 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001035/0.8005, allocations: 0.6318 MB / 0.8938 GB, free: 11.19 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001714/0.8022, allocations: 0.8594 MB / 0.8947 GB, free: 10.31 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.8022, allocations: 0 / 0.8947 GB, free: 10.31 MB / 0.67 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002841/0.8051, allocations: 1.162 MB / 0.8958 GB, free: 9.145 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.8051, allocations: 7.984 kB / 0.8958 GB, free: 9.137 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.8051, allocations: 4 kB / 0.8958 GB, free: 9.133 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006281/0.8057, allocations: 84.78 kB / 0.8959 GB, free: 9.047 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009692/0.8067, allocations: 219.7 kB / 0.8961 GB, free: 8.832 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002249/0.809, allocations: 1.531 MB / 0.8976 GB, free: 7.184 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/0.8101, allocations: 136 kB / 0.8977 GB, free: 7.051 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.286e-05/0.8101, allocations: 43.97 kB / 0.8978 GB, free: 7.008 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 24 (HDirWal.incAng.decAng.tNext,$PRE.HDirWal.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,$PRE.HDirFlo.incAng.decAng.tNext,HDirRoo.incAng.decAng.tNext,$PRE.HDirRoo.incAng.decAng.tNext,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,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (127): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007311/0.8109, allocations: 349.4 kB / 0.8981 GB, free: 6.656 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002808/0.8112, allocations: 119.2 kB / 0.8982 GB, free: 6.539 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003528/0.8147, allocations: 1.538 MB / 0.8997 GB, free: 4.992 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.429e-05/0.8147, allocations: 12 kB / 0.8997 GB, free: 4.98 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.8147, allocations: 0 / 0.8997 GB, free: 4.98 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.51e-05/0.8147, allocations: 7.969 kB / 0.8997 GB, free: 4.973 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001697/0.8164, allocations: 1.151 MB / 0.9008 GB, free: 3.781 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/0.8164, allocations: 0 / 0.9008 GB, free: 3.781 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008469/0.8173, allocations: 195.7 kB / 0.901 GB, free: 3.59 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004836/0.8178, allocations: 76.78 kB / 0.9011 GB, free: 3.512 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.573e-05/0.8178, allocations: 35.97 kB / 0.9011 GB, free: 3.477 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002107/0.8199, allocations: 1.559 MB / 0.9027 GB, free: 1.797 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.8199, allocations: 0 / 0.9027 GB, free: 1.797 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002892/0.8228, allocations: 1.289 MB / 0.9039 GB, free: 496 kB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000748/0.8236, allocations: 298.8 kB / 0.9042 GB, free: 196 kB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001852/0.8238, allocations: 31.94 kB / 0.9042 GB, free: 164 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000867/0.8246, allocations: 83.91 kB / 0.9043 GB, free: 80 kB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002354/0.8249, allocations: 105.1 kB / 0.9044 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001152/0.825, allocations: 47.97 kB / 0.9045 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009671/0.826, allocations: 0.6377 MB / 0.9051 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of sort global known variables: time 6e-08/0.826, allocations: 2.062 kB / 0.9051 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001218/0.8272, allocations: 478.6 kB / 0.9055 GB, free: 14.81 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: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005086/0.8323, allocations: 2.39 MB / 0.9079 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002506/0.8348, allocations: 1.07 MB / 0.9089 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.8348, allocations: 4 kB / 0.9089 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001286/0.8361, allocations: 0.6466 MB / 0.9096 GB, free: 10.89 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001632/0.8377, allocations: 347.1 kB / 0.9099 GB, free: 10.57 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01726/0.855, allocations: 8.808 MB / 0.9185 GB, free: 1.602 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008092/0.8558, allocations: 0.6432 MB / 0.9191 GB, free: 0.918 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001122/0.8569, allocations: 321.5 kB / 0.9194 GB, free: 0.6016 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009895/0.8579, allocations: 0.6164 MB / 0.92 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of SimCode: time 1.332e-06/0.8579, allocations: 0 / 0.92 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08232/0.9402, allocations: 31.74 MB / 0.951 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.12/15.06, allocations: 9.031 kB / 0.951 GB, free: 0.5781 MB / 0.7169 GB " [Timeout remaining time 645] (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.145878265146166] Failed to read output from testmodel.py, exit status != 0: 15.303230859339237 15.329176682 14.560549622 Calling exit ...