Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.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.001253/0.001253, allocations: 119 kB / 19.69 MB, free: 2.199 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.001411/0.001411, allocations: 221.3 kB / 23.01 MB, free: 5.043 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.388/1.388, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.9397/0.9397, allocations: 150 MB / 463.2 MB, free: 10.46 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.Examples.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",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.001976/0.001976, allocations: 65.91 kB / 0.6412 GB, free: 10.4 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.187, allocations: 89.17 MB / 0.7283 GB, free: 1.293 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.007109/0.1941, allocations: 4.905 MB / 0.7331 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5588/0.7529, allocations: 154.1 MB / 0.8836 GB, free: 8.25 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009308/0.7538, allocations: 23.81 kB / 0.8836 GB, free: 8.227 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0009343/0.7548, allocations: 201.2 kB / 0.8838 GB, free: 8.031 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002442/0.7572, allocations: 0.56 MB / 0.8844 GB, free: 7.484 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00258/0.7598, allocations: 0.8705 MB / 0.8852 GB, free: 6.652 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002179/0.762, allocations: 1.414 MB / 0.8866 GB, free: 5.234 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009867/0.763, allocations: 413.8 kB / 0.887 GB, free: 4.805 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009635/0.7639, allocations: 0.5022 MB / 0.8875 GB, free: 4.301 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007312/0.7647, allocations: 0.5134 MB / 0.888 GB, free: 3.785 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001656/0.7648, allocations: 120 kB / 0.8881 GB, free: 3.668 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001147/0.766, allocations: 0.5102 MB / 0.8886 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003036/0.7663, allocations: 303 kB / 0.8889 GB, free: 2.863 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005706/0.7669, allocations: 0.5713 MB / 0.8895 GB, free: 2.289 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002261/0.7691, allocations: 1.699 MB / 0.8911 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.7691, allocations: 0 / 0.8911 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7691, allocations: 0 / 0.8911 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.776e-05/0.7691, allocations: 0 / 0.8911 GB, free: 0.5898 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.00272/0.7719, allocations: 1.414 MB / 0.8925 GB, free: 15.13 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.7719, allocations: 8.031 kB / 0.8925 GB, free: 15.12 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001739/0.7721, allocations: 139.3 kB / 0.8926 GB, free: 14.98 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001589/0.7737, allocations: 248 kB / 0.8929 GB, free: 14.74 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00131/0.775, allocations: 0.709 MB / 0.8936 GB, free: 14.01 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.397e-05/0.775, allocations: 66 kB / 0.8936 GB, free: 13.95 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.7751, allocations: 80 kB / 0.8937 GB, free: 13.87 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001561/0.7767, allocations: 0.9222 MB / 0.8946 GB, free: 12.9 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/0.7767, allocations: 7.938 kB / 0.8946 GB, free: 12.89 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.153e-05/0.7768, allocations: 36 kB / 0.8946 GB, free: 12.86 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.895e-05/0.7768, allocations: 20 kB / 0.8947 GB, free: 12.84 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001803/0.7786, allocations: 1.108 MB / 0.8957 GB, free: 11.73 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004431/0.7831, allocations: 2.719 MB / 0.8984 GB, free: 8.883 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001546/0.7846, allocations: 0.7689 MB / 0.8992 GB, free: 8.117 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005354/0.7851, allocations: 270.7 kB / 0.8994 GB, free: 7.848 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 8.641e-05/0.7852, allocations: 44.53 kB / 0.8995 GB, free: 7.805 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009035/0.7861, allocations: 498.7 kB / 0.8999 GB, free: 7.305 MB / 0.67 GB Notification: Performance of pre-optimization done (n=79): time 2.966e-06/0.7861, allocations: 0 / 0.8999 GB, free: 7.305 MB / 0.67 GB Notification: Performance of matching and sorting (n=79): time 0.00323/0.7894, allocations: 1.127 MB / 0.901 GB, free: 6.168 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001276/0.7895, allocations: 192.6 kB / 0.9012 GB, free: 5.938 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000951/0.7904, allocations: 0.6411 MB / 0.9018 GB, free: 5.293 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.893e-05/0.7905, allocations: 41.7 kB / 0.9019 GB, free: 5.246 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003671/0.7909, allocations: 413 kB / 0.9023 GB, free: 4.836 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002455/0.7911, allocations: 269.7 kB / 0.9025 GB, free: 4.57 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002235/0.7914, allocations: 146.6 kB / 0.9027 GB, free: 4.422 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001958/0.7916, allocations: 382.8 kB / 0.903 GB, free: 4.039 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005031/0.7921, allocations: 257.4 kB / 0.9033 GB, free: 3.789 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006084/0.7927, allocations: 358.6 kB / 0.9036 GB, free: 3.414 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/0.7938, allocations: 0.5838 MB / 0.9042 GB, free: 2.82 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.7938, allocations: 0 / 0.9042 GB, free: 2.82 MB / 0.67 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002004/0.7958, allocations: 0.8023 MB / 0.905 GB, free: 2.004 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.7958, allocations: 7.938 kB / 0.905 GB, free: 1.996 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.7958, allocations: 4 kB / 0.905 GB, free: 1.992 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006436/0.7964, allocations: 80.88 kB / 0.9051 GB, free: 1.91 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006207/0.7971, allocations: 143.8 kB / 0.9052 GB, free: 1.77 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002297/0.7994, allocations: 1.551 MB / 0.9067 GB, free: 108 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007451/0.8001, allocations: 91.5 kB / 0.9068 GB, free: 16 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.209e-05/0.8002, allocations: 31.97 kB / 0.9068 GB, free: 15.98 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: 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 (85): * Single equations (assignments): 84 * 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.0004984/0.8007, allocations: 261.8 kB / 0.9071 GB, free: 15.72 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001894/0.8009, allocations: 87.44 kB / 0.9072 GB, free: 15.63 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002395/0.8033, allocations: 1.067 MB / 0.9082 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.8033, allocations: 8 kB / 0.9082 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.8033, allocations: 0 / 0.9082 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.8033, allocations: 3.984 kB / 0.9082 GB, free: 14.54 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003481/0.8068, allocations: 1.958 MB / 0.9101 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.8068, allocations: 0 / 0.9101 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005732/0.8074, allocations: 143.8 kB / 0.9103 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004614/0.8078, allocations: 81.48 kB / 0.9103 GB, free: 12.31 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.838e-05/0.8079, allocations: 27.97 kB / 0.9104 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002068/0.8099, allocations: 1.571 MB / 0.9119 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.8099, allocations: 0 / 0.9119 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00214/0.8121, allocations: 0.9984 MB / 0.9129 GB, free: 9.574 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004746/0.8126, allocations: 203.1 kB / 0.9131 GB, free: 9.375 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/0.8127, allocations: 23.94 kB / 0.9131 GB, free: 9.352 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000648/0.8133, allocations: 63.94 kB / 0.9132 GB, free: 9.289 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/0.8135, allocations: 68.86 kB / 0.9132 GB, free: 9.219 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.657e-05/0.8136, allocations: 39.97 kB / 0.9133 GB, free: 9.18 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.000663/0.8142, allocations: 471 kB / 0.9137 GB, free: 8.723 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/0.8142, allocations: 0 / 0.9137 GB, free: 8.723 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.000948/0.8152, allocations: 323.1 kB / 0.914 GB, free: 8.406 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: 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 (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.004207/0.8194, allocations: 2.048 MB / 0.916 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001704/0.8211, allocations: 0.7767 MB / 0.9168 GB, free: 5.758 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.8211, allocations: 0 / 0.9168 GB, free: 5.758 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0009443/0.822, allocations: 496.2 kB / 0.9173 GB, free: 5.266 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001309/0.8233, allocations: 299.2 kB / 0.9175 GB, free: 5 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.011/0.8343, allocations: 6.294 MB / 0.9237 GB, free: 14.55 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006974/0.835, allocations: 1.023 MB / 0.9247 GB, free: 13.5 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0008721/0.8359, allocations: 258.7 kB / 0.9249 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005617/0.8365, allocations: 379.3 kB / 0.9253 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of SimCode: time 1.493e-06/0.8365, allocations: 0 / 0.9253 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07128/0.9077, allocations: 22.51 MB / 0.9473 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.95/14.86, allocations: 16.75 kB / 0.9473 GB, free: 6.559 MB / 0.7169 GB " [Timeout remaining time 645] (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --stepSize=80 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.721930691041052] Failed to read output from testmodel.py, exit status != 0: 15.08767500007525 15.10566357 14.331846196 Calling exit ...