Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.00142/0.00142, allocations: 105 kB / 20.49 MB, free: 1.488 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.001532/0.001532, allocations: 215.9 kB / 23.79 MB, free: 4.703 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.467/1.467, allocations: 230.6 MB / 257.6 MB, free: 7.996 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.962/0.962, allocations: 150 MB / 464 MB, free: 10.54 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.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",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.001982/0.001982, allocations: 62.34 kB / 0.642 GB, free: 10.46 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.1915, allocations: 89.17 MB / 0.7291 GB, free: 1.355 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.007526/0.199, allocations: 5.006 MB / 0.734 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5847/0.7837, allocations: 154.2 MB / 0.8845 GB, free: 8.145 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009344/0.7847, allocations: 23.81 kB / 0.8846 GB, free: 8.121 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0008231/0.7855, allocations: 196.8 kB / 0.8847 GB, free: 7.93 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002555/0.7881, allocations: 0.5808 MB / 0.8853 GB, free: 7.363 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002799/0.7908, allocations: 0.897 MB / 0.8862 GB, free: 6.512 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002273/0.7931, allocations: 1.445 MB / 0.8876 GB, free: 5.062 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001044/0.7942, allocations: 423.5 kB / 0.888 GB, free: 4.625 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00107/0.7952, allocations: 0.5256 MB / 0.8885 GB, free: 4.098 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009721/0.7962, allocations: 0.5289 MB / 0.889 GB, free: 3.566 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002988/0.7965, allocations: 131.9 kB / 0.8892 GB, free: 3.438 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001319/0.7978, allocations: 0.5113 MB / 0.8897 GB, free: 2.926 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005089/0.7983, allocations: 311 kB / 0.89 GB, free: 2.621 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0008571/0.7992, allocations: 0.579 MB / 0.8905 GB, free: 2.039 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002715/0.8019, allocations: 1.718 MB / 0.8922 GB, free: 328 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.8019, allocations: 0 / 0.8922 GB, free: 328 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.353e-06/0.8019, allocations: 0 / 0.8922 GB, free: 328 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.489e-05/0.802, allocations: 0 / 0.8922 GB, free: 328 kB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.003463/0.8054, allocations: 1.46 MB / 0.8936 GB, free: 14.81 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.8055, allocations: 8.031 kB / 0.8936 GB, free: 14.8 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.7e-05/0.8055, allocations: 22.19 kB / 0.8936 GB, free: 14.79 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002063/0.8057, allocations: 139.5 kB / 0.8938 GB, free: 14.64 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001829/0.8075, allocations: 248 kB / 0.894 GB, free: 14.4 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001545/0.8091, allocations: 0.7306 MB / 0.8947 GB, free: 13.64 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.869e-05/0.8092, allocations: 65.98 kB / 0.8948 GB, free: 13.58 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/0.8093, allocations: 84 kB / 0.8949 GB, free: 13.5 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001932/0.8112, allocations: 0.9417 MB / 0.8958 GB, free: 12.52 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/0.8113, allocations: 0 / 0.8958 GB, free: 12.52 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.8114, allocations: 40 kB / 0.8958 GB, free: 12.48 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.31e-05/0.8114, allocations: 24 kB / 0.8959 GB, free: 12.45 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002082/0.8135, allocations: 1.124 MB / 0.897 GB, free: 11.32 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004851/0.8183, allocations: 2.739 MB / 0.8996 GB, free: 8.465 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/0.8201, allocations: 0.7829 MB / 0.9004 GB, free: 7.68 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006275/0.8207, allocations: 278.7 kB / 0.9007 GB, free: 7.398 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 8.131e-05/0.8208, allocations: 36.67 kB / 0.9007 GB, free: 7.363 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009949/0.8218, allocations: 0.5175 MB / 0.9012 GB, free: 6.832 MB / 0.67 GB Notification: Performance of pre-optimization done (n=84): time 2.274e-06/0.8218, allocations: 3.938 kB / 0.9012 GB, free: 6.828 MB / 0.67 GB Notification: Performance of matching and sorting (n=84): time 0.003532/0.8253, allocations: 1.188 MB / 0.9024 GB, free: 5.629 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001394/0.8255, allocations: 192.9 kB / 0.9025 GB, free: 5.398 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.8265, allocations: 0.6723 MB / 0.9032 GB, free: 4.719 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.773e-05/0.8266, allocations: 41.7 kB / 0.9032 GB, free: 4.672 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003975/0.827, allocations: 417.1 kB / 0.9036 GB, free: 4.258 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002723/0.8273, allocations: 281.6 kB / 0.9039 GB, free: 3.98 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002601/0.8275, allocations: 154.6 kB / 0.9041 GB, free: 3.824 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002049/0.8277, allocations: 382.8 kB / 0.9044 GB, free: 3.441 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005819/0.8283, allocations: 261.9 kB / 0.9047 GB, free: 3.184 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006923/0.829, allocations: 366.5 kB / 0.905 GB, free: 2.801 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/0.8302, allocations: 0.6047 MB / 0.9056 GB, free: 2.188 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.8302, allocations: 0 / 0.9056 GB, free: 2.188 MB / 0.67 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002221/0.8325, allocations: 0.8374 MB / 0.9064 GB, free: 1.34 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/0.8325, allocations: 8 kB / 0.9064 GB, free: 1.332 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.8325, allocations: 4.719 kB / 0.9064 GB, free: 1.328 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006249/0.8331, allocations: 80.88 kB / 0.9065 GB, free: 1.246 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006896/0.8338, allocations: 156.6 kB / 0.9067 GB, free: 1.094 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002331/0.8361, allocations: 1.528 MB / 0.9082 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009032/0.837, allocations: 91.5 kB / 0.9082 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.08e-05/0.8371, allocations: 35.97 kB / 0.9083 GB, free: 15.32 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 (91): * Single equations (assignments): 90 * 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.0005978/0.8377, allocations: 273.7 kB / 0.9085 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002742/0.838, allocations: 91.44 kB / 0.9086 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002729/0.8407, allocations: 1.142 MB / 0.9097 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/0.8408, allocations: 15.94 kB / 0.9098 GB, free: 13.79 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.8408, allocations: 0 / 0.9098 GB, free: 13.79 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/0.8408, allocations: 7.969 kB / 0.9098 GB, free: 13.78 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003853/0.8446, allocations: 1.997 MB / 0.9117 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.8446, allocations: 0 / 0.9117 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006413/0.8453, allocations: 153.1 kB / 0.9119 GB, free: 11.58 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004515/0.8457, allocations: 72.78 kB / 0.9119 GB, free: 11.51 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-05/0.8458, allocations: 31.97 kB / 0.912 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002036/0.8478, allocations: 1.568 MB / 0.9135 GB, free: 9.789 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.8478, allocations: 7.938 kB / 0.9135 GB, free: 9.781 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002381/0.8502, allocations: 1.053 MB / 0.9145 GB, free: 8.707 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005112/0.8507, allocations: 211 kB / 0.9147 GB, free: 8.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001697/0.8509, allocations: 24 kB / 0.9148 GB, free: 8.477 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007803/0.8517, allocations: 68.62 kB / 0.9148 GB, free: 8.41 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001684/0.8518, allocations: 80.84 kB / 0.9149 GB, free: 8.332 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.903e-05/0.8519, allocations: 35.98 kB / 0.9149 GB, free: 8.297 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007157/0.8527, allocations: 483 kB / 0.9154 GB, free: 7.832 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/0.8527, allocations: 0 / 0.9154 GB, free: 7.832 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009606/0.8536, allocations: 335.2 kB / 0.9157 GB, free: 7.504 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.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 (99): * Single equations (assignments): 92 * 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.004564/0.8582, allocations: 2.11 MB / 0.9178 GB, free: 5.59 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002032/0.8602, allocations: 0.8157 MB / 0.9186 GB, free: 4.762 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.8602, allocations: 0 / 0.9186 GB, free: 4.762 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001052/0.8613, allocations: 0.5079 MB / 0.9191 GB, free: 4.242 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001438/0.8627, allocations: 298.2 kB / 0.9193 GB, free: 3.973 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01247/0.8752, allocations: 6.485 MB / 0.9257 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001076/0.8763, allocations: 1.036 MB / 0.9267 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001224/0.8775, allocations: 271 kB / 0.927 GB, free: 12 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008441/0.8783, allocations: 423.2 kB / 0.9274 GB, free: 11.58 MB / 0.7012 GB Notification: Performance of SimCode: time 9.91e-07/0.8783, allocations: 0 / 0.9274 GB, free: 11.58 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06262/0.9409, allocations: 23.22 MB / 0.95 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.45/15.39, allocations: 4.062 kB / 0.95 GB, free: 4.594 MB / 0.7169 GB " [Timeout remaining time 644] (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --stepSize=80 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.467537235002965] Failed to read output from testmodel.py, exit status != 0: 15.680604812980164 15.706795095 14.900071258 Calling exit ...