Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.001495/0.001495, allocations: 114.5 kB / 17.13 MB, free: 6.027 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.001662/0.001662, allocations: 207.2 kB / 20.1 MB, free: 3.074 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.554/1.554, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.9996/0.9996, allocations: 150 MB / 459.5 MB, free: 5.27 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.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",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.00187/0.00187, allocations: 63.81 kB / 0.6361 GB, free: 30.49 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.1882, allocations: 89.13 MB / 0.7231 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.008348/0.1966, allocations: 5.034 MB / 0.7281 GB, free: 15 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.7103/0.9069, allocations: 154.2 MB / 0.8786 GB, free: 2.098 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001312/0.9082, allocations: 24 kB / 0.8786 GB, free: 2.098 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0008138/0.909, allocations: 203 kB / 0.8788 GB, free: 2.098 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002218/0.9112, allocations: 0.5951 MB / 0.8794 GB, free: 2.09 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002727/0.9139, allocations: 0.8683 MB / 0.8803 GB, free: 2.078 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002141/0.9161, allocations: 1.47 MB / 0.8817 GB, free: 2.074 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000735/0.9168, allocations: 423.5 kB / 0.8821 GB, free: 2.012 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008208/0.9176, allocations: 0.5374 MB / 0.8826 GB, free: 2.008 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007773/0.9184, allocations: 0.5441 MB / 0.8832 GB, free: 2.008 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002223/0.9186, allocations: 122.1 kB / 0.8833 GB, free: 2.008 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001398/0.92, allocations: 0.5154 MB / 0.8838 GB, free: 1.992 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003186/0.9204, allocations: 316.7 kB / 0.8841 GB, free: 1.992 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0007781/0.9211, allocations: 0.5926 MB / 0.8847 GB, free: 1.992 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00301/0.9241, allocations: 1.736 MB / 0.8864 GB, free: 1.883 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.9241, allocations: 0 / 0.8864 GB, free: 1.883 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.395e-06/0.9241, allocations: 0 / 0.8864 GB, free: 1.883 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.467e-05/0.9242, allocations: 4.625 kB / 0.8864 GB, free: 1.883 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.003751/0.9279, allocations: 1.556 MB / 0.8879 GB, free: 17.03 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.928, allocations: 9 kB / 0.8879 GB, free: 17.03 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002021/0.9282, allocations: 140.5 kB / 0.888 GB, free: 16.99 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002208/0.9304, allocations: 263.8 kB / 0.8883 GB, free: 16.92 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001615/0.932, allocations: 0.8049 MB / 0.8891 GB, free: 16.59 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.9321, allocations: 65.94 kB / 0.8891 GB, free: 16.59 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001825/0.9323, allocations: 89.53 kB / 0.8892 GB, free: 16.59 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002204/0.9345, allocations: 0.9712 MB / 0.8902 GB, free: 16.44 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.9345, allocations: 2.375 kB / 0.8902 GB, free: 16.44 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.573e-05/0.9346, allocations: 35 kB / 0.8902 GB, free: 16.44 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.346e-05/0.9347, allocations: 21.44 kB / 0.8902 GB, free: 16.44 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002154/0.9368, allocations: 1.154 MB / 0.8913 GB, free: 16.43 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004836/0.9417, allocations: 2.93 MB / 0.8942 GB, free: 15.33 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001521/0.9432, allocations: 0.792 MB / 0.895 GB, free: 15.29 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005657/0.9438, allocations: 300 kB / 0.8953 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 9.027e-05/0.9438, allocations: 38 kB / 0.8953 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001055/0.9449, allocations: 0.5251 MB / 0.8958 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=88): time 3.036e-06/0.9449, allocations: 0 / 0.8958 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of matching and sorting (n=88): time 0.003888/0.9488, allocations: 1.306 MB / 0.8971 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001474/0.9489, allocations: 190.5 kB / 0.8973 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.95, allocations: 0.6834 MB / 0.8979 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001144/0.9501, allocations: 46.39 kB / 0.898 GB, free: 14.59 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003058/0.9504, allocations: 417.6 kB / 0.8984 GB, free: 14.4 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002283/0.9506, allocations: 302.9 kB / 0.8987 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002452/0.9509, allocations: 162.3 kB / 0.8988 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002127/0.9511, allocations: 390.3 kB / 0.8992 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005271/0.9516, allocations: 267.8 kB / 0.8994 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006639/0.9523, allocations: 389.9 kB / 0.8998 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/0.9534, allocations: 0.6376 MB / 0.9004 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.9534, allocations: 0 / 0.9004 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002156/0.9556, allocations: 0.8727 MB / 0.9013 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.941e-05/0.9556, allocations: 11.88 kB / 0.9013 GB, free: 13.62 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.9556, allocations: 1.312 kB / 0.9013 GB, free: 13.62 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006391/0.9562, allocations: 87.5 kB / 0.9014 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007227/0.957, allocations: 168.5 kB / 0.9016 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002365/0.9593, allocations: 1.633 MB / 0.9031 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/0.9604, allocations: 100.1 kB / 0.9032 GB, free: 12.19 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-05/0.9605, allocations: 41.61 kB / 0.9033 GB, free: 12.18 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 (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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * 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.0005741/0.9611, allocations: 277.4 kB / 0.9035 GB, free: 12.06 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002637/0.9613, allocations: 89.31 kB / 0.9036 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002567/0.9639, allocations: 1.174 MB / 0.9048 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.9639, allocations: 11.22 kB / 0.9048 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.9639, allocations: 0 / 0.9048 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.9639, allocations: 5.672 kB / 0.9048 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001361/0.9653, allocations: 0.95 MB / 0.9057 GB, free: 11.65 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.9653, allocations: 5.203 kB / 0.9057 GB, free: 11.65 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006157/0.9659, allocations: 153.5 kB / 0.9059 GB, free: 11.65 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004456/0.9663, allocations: 72.42 kB / 0.9059 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-05/0.9664, allocations: 32.73 kB / 0.906 GB, free: 11.63 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002116/0.9685, allocations: 1.66 MB / 0.9076 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.9685, allocations: 0 / 0.9076 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002382/0.9709, allocations: 1.008 MB / 0.9086 GB, free: 10.08 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000575/0.9715, allocations: 290.7 kB / 0.9089 GB, free: 9.926 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001538/0.9716, allocations: 20.55 kB / 0.9089 GB, free: 9.926 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007425/0.9724, allocations: 73.02 kB / 0.9089 GB, free: 9.918 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001897/0.9726, allocations: 77.75 kB / 0.909 GB, free: 9.918 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.706e-05/0.9726, allocations: 39.31 kB / 0.9091 GB, free: 9.918 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006971/0.9733, allocations: 0.4966 MB / 0.9095 GB, free: 9.824 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.9733, allocations: 3.188 kB / 0.9095 GB, free: 9.824 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001124/0.9745, allocations: 336.7 kB / 0.9099 GB, free: 9.77 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.004674/0.9791, allocations: 2.054 MB / 0.9119 GB, free: 8.988 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001965/0.9811, allocations: 0.8223 MB / 0.9127 GB, free: 8.852 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.9811, allocations: 4.219 kB / 0.9127 GB, free: 8.852 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001018/0.9821, allocations: 0.524 MB / 0.9132 GB, free: 8.727 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001559/0.9837, allocations: 307.6 kB / 0.9135 GB, free: 8.691 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01326/0.9969, allocations: 6.596 MB / 0.9199 GB, free: 6.734 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007205/0.9977, allocations: 1.05 MB / 0.921 GB, free: 6.012 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001013/0.9987, allocations: 272 kB / 0.9212 GB, free: 5.938 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006236/0.9993, allocations: 423.9 kB / 0.9216 GB, free: 5.926 MB / 0.6856 GB Notification: Performance of SimCode: time 9.32e-07/0.9993, allocations: 0 / 0.9216 GB, free: 5.926 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09269/1.092, allocations: 23.13 MB / 0.9442 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.65/14.75, allocations: 7.281 kB / 0.9442 GB, free: 10.08 MB / 0.7012 GB " [Timeout remaining time 645] (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.146180456969887] Failed to read output from testmodel.py, exit status != 0: 14.969135619001463 14.995051432 14.067442549 Calling exit ...