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.001397/0.001397, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001689/0.001689, allocations: 213.7 kB / 22.99 MB, free: 4.977 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.521/1.521, allocations: 230.6 MB / 256.8 MB, free: 7.773 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.9893/0.9893, allocations: 149.9 MB / 463 MB, free: 10.32 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.00209/0.00209, allocations: 62.41 kB / 0.6411 GB, free: 10.1 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1714, allocations: 89.17 MB / 0.7281 GB, free: 1 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.009313/0.1807, allocations: 6.243 MB / 0.7342 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5643/0.745, allocations: 133.2 MB / 0.8644 GB, free: 9.805 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001151/0.7462, allocations: 23.81 kB / 0.8644 GB, free: 9.781 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00115/0.7473, allocations: 269.4 kB / 0.8646 GB, free: 9.516 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002992/0.7503, allocations: 0.7924 MB / 0.8654 GB, free: 8.738 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002758/0.7531, allocations: 1.031 MB / 0.8664 GB, free: 7.734 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003099/0.7562, allocations: 2.114 MB / 0.8685 GB, free: 5.613 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001313/0.7575, allocations: 0.7367 MB / 0.8692 GB, free: 4.824 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001361/0.7588, allocations: 0.8566 MB / 0.87 GB, free: 3.965 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00112/0.76, allocations: 0.7854 MB / 0.8708 GB, free: 3.176 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003284/0.7603, allocations: 220 kB / 0.871 GB, free: 2.961 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001286/0.7616, allocations: 0.5778 MB / 0.8716 GB, free: 2.383 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004535/0.762, allocations: 0.4946 MB / 0.8721 GB, free: 1.887 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0008455/0.7629, allocations: 0.7972 MB / 0.8728 GB, free: 1.086 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003465/0.7663, allocations: 2.745 MB / 0.8755 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.7663, allocations: 0 / 0.8755 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.863e-06/0.7664, allocations: 0 / 0.8755 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.648e-05/0.7664, allocations: 0 / 0.8755 GB, free: 14.34 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.003911/0.7703, allocations: 2.052 MB / 0.8775 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.7703, allocations: 8.031 kB / 0.8775 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00028/0.7706, allocations: 228.2 kB / 0.8778 GB, free: 12 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003069/0.7737, allocations: 407.4 kB / 0.8781 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001839/0.7755, allocations: 0.9465 MB / 0.8791 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001791/0.7757, allocations: 178.5 kB / 0.8792 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001991/0.7759, allocations: 152 kB / 0.8794 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002996/0.7789, allocations: 1.865 MB / 0.8812 GB, free: 8.309 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.306e-05/0.7789, allocations: 3.938 kB / 0.8812 GB, free: 8.305 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001379/0.7791, allocations: 64 kB / 0.8813 GB, free: 8.242 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.317e-05/0.7791, allocations: 39.94 kB / 0.8813 GB, free: 8.203 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002658/0.7818, allocations: 1.553 MB / 0.8828 GB, free: 6.645 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007245/0.789, allocations: 3.74 MB / 0.8865 GB, free: 2.824 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001996/0.791, allocations: 1.027 MB / 0.8875 GB, free: 1.793 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008224/0.7918, allocations: 387.7 kB / 0.8878 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.985e-05/0.7919, allocations: 36.95 kB / 0.8879 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001318/0.7932, allocations: 0.8297 MB / 0.8887 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=111): time 2.895e-06/0.7932, allocations: 0 / 0.8887 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=111): time 0.004249/0.7975, allocations: 1.582 MB / 0.8902 GB, free: 14.91 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001422/0.7976, allocations: 192.9 kB / 0.8904 GB, free: 14.68 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001398/0.799, allocations: 0.8805 MB / 0.8913 GB, free: 13.77 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.916e-05/0.7991, allocations: 49.7 kB / 0.8913 GB, free: 13.71 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006754/0.7998, allocations: 0.6415 MB / 0.892 GB, free: 13.07 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000367/0.8002, allocations: 372.8 kB / 0.8923 GB, free: 12.7 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003445/0.8005, allocations: 202.9 kB / 0.8925 GB, free: 12.5 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002152/0.8007, allocations: 345.9 kB / 0.8928 GB, free: 12.16 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000719/0.8015, allocations: 386.4 kB / 0.8932 GB, free: 11.78 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009619/0.8024, allocations: 0.6318 MB / 0.8938 GB, free: 11.09 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001624/0.804, allocations: 0.8633 MB / 0.8947 GB, free: 10.2 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.804, allocations: 0 / 0.8947 GB, free: 10.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002712/0.8068, allocations: 1.157 MB / 0.8958 GB, free: 9.039 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.8068, allocations: 11.56 kB / 0.8958 GB, free: 9.031 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.8068, allocations: 0 / 0.8958 GB, free: 9.031 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006023/0.8074, allocations: 84.84 kB / 0.8959 GB, free: 8.945 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009201/0.8083, allocations: 220.4 kB / 0.8961 GB, free: 8.73 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002368/0.8107, allocations: 1.541 MB / 0.8976 GB, free: 7.07 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/0.8117, allocations: 131.2 kB / 0.8977 GB, free: 6.941 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/0.8118, allocations: 47.95 kB / 0.8978 GB, free: 6.895 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.0007672/0.8126, allocations: 344.2 kB / 0.8981 GB, free: 6.547 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003157/0.8129, allocations: 119.2 kB / 0.8982 GB, free: 6.43 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003635/0.8165, allocations: 1.532 MB / 0.8997 GB, free: 4.887 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.595e-05/0.8165, allocations: 12 kB / 0.8997 GB, free: 4.875 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.8165, allocations: 0 / 0.8997 GB, free: 4.875 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.583e-05/0.8165, allocations: 11.97 kB / 0.8997 GB, free: 4.863 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002195/0.8187, allocations: 1.142 MB / 0.9008 GB, free: 3.68 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.268e-05/0.8188, allocations: 0 / 0.9008 GB, free: 3.68 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008249/0.8196, allocations: 203.7 kB / 0.901 GB, free: 3.48 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004593/0.82, allocations: 76.77 kB / 0.9011 GB, free: 3.402 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/0.8201, allocations: 31.97 kB / 0.9011 GB, free: 3.371 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002104/0.8222, allocations: 1.555 MB / 0.9027 GB, free: 1.695 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.8222, allocations: 4.062 kB / 0.9027 GB, free: 1.691 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002915/0.8252, allocations: 1.285 MB / 0.9039 GB, free: 392 kB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007344/0.8259, allocations: 294.7 kB / 0.9042 GB, free: 96 kB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002667/0.8262, allocations: 35.94 kB / 0.9042 GB, free: 60 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009549/0.8271, allocations: 82.25 kB / 0.9043 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002031/0.8273, allocations: 101.1 kB / 0.9044 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/0.8274, allocations: 51.95 kB / 0.9045 GB, free: 15.83 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001064/0.8285, allocations: 0.6415 MB / 0.9051 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.8285, allocations: 7.938 kB / 0.9051 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001313/0.8298, allocations: 478.6 kB / 0.9056 GB, free: 14.7 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.00518/0.835, allocations: 2.388 MB / 0.9079 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002512/0.8375, allocations: 1.074 MB / 0.9089 GB, free: 11.45 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.8375, allocations: 0 / 0.9089 GB, free: 11.45 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001422/0.8389, allocations: 0.6386 MB / 0.9096 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001989/0.8409, allocations: 362.6 kB / 0.9099 GB, free: 10.47 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01822/0.8591, allocations: 8.802 MB / 0.9185 GB, free: 1.508 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00103/0.8602, allocations: 0.6393 MB / 0.9191 GB, free: 0.8281 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001228/0.8614, allocations: 321.5 kB / 0.9194 GB, free: 0.5117 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001132/0.8625, allocations: 0.6125 MB / 0.92 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of SimCode: time 1.422e-06/0.8625, allocations: 8 kB / 0.92 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1237/0.9863, allocations: 31.73 MB / 0.951 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.07/15.06, allocations: 15.23 kB / 0.951 GB, free: 492 kB / 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.csv --start-time 1.82304e+07 --stop-time 1.83168e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 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.216453765984625] Failed to read output from testmodel.py, exit status != 0: 15.30400842987001 15.333335661 14.561906807 Calling exit ...