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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009277/0.0009316, allocations: 96.81 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009179/0.0009182, allocations: 173.1 kB / 16.57 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 223.2 MB / 240.5 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7262/0.7262, allocations: 113.7 MB / 405.3 MB, free: 4.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005338/0.0005339, allocations: 8 kB / 493 MB, free: 8.609 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1547, allocations: 77.11 MB / 0.5567 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004577/0.1593, allocations: 3.605 MB / 0.5602 GB, free: 8.074 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4084/0.5678, allocations: 127.5 MB / 0.6848 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006931/0.5685, allocations: 15.88 kB / 0.6848 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003472/0.5689, allocations: 83.25 kB / 0.6849 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001444/0.5703, allocations: 487.3 kB / 0.6853 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001738/0.5721, allocations: 0.6247 MB / 0.6859 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002388/0.5745, allocations: 0.8065 MB / 0.6867 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007863/0.5753, allocations: 482.7 kB / 0.6872 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000533/0.5758, allocations: 330.6 kB / 0.6875 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004046/0.5762, allocations: 330.3 kB / 0.6878 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.614e-05/0.5763, allocations: 24 kB / 0.6878 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006998/0.577, allocations: 311.6 kB / 0.6881 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001697/0.5772, allocations: 175.2 kB / 0.6883 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001485/0.5774, allocations: 197.1 kB / 0.6885 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001451/0.5788, allocations: 1.174 MB / 0.6896 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.5788, allocations: 4 kB / 0.6896 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5788, allocations: 0 / 0.6896 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.5789, allocations: 0 / 0.6896 GB, free: 1.957 MB / 0.4981 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.002669/0.5815, allocations: 1.205 MB / 0.6908 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/0.5816, allocations: 8.031 kB / 0.6908 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002121/0.5818, allocations: 135.2 kB / 0.6909 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/0.5829, allocations: 194.5 kB / 0.6911 GB, free: 376 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001313/0.5843, allocations: 0.7148 MB / 0.6918 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.282e-05/0.5844, allocations: 69.95 kB / 0.6919 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.5845, allocations: 76 kB / 0.692 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001871/0.5864, allocations: 0.9145 MB / 0.6929 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.5864, allocations: 0 / 0.6929 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/0.5865, allocations: 43.97 kB / 0.6929 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.799e-05/0.5866, allocations: 20 kB / 0.6929 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002314/0.5889, allocations: 1.112 MB / 0.694 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004904/0.5938, allocations: 2.556 MB / 0.6965 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001922/0.5958, allocations: 0.891 MB / 0.6974 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.444e-05/0.5959, allocations: 32.59 kB / 0.6974 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001036/0.5969, allocations: 495.1 kB / 0.6979 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=79): time 2.294e-06/0.5969, allocations: 0 / 0.6979 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of matching and sorting (n=79): time 0.003637/0.6006, allocations: 1.2 MB / 0.6991 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.84e-05/0.6007, allocations: 196.5 kB / 0.6992 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009632/0.6016, allocations: 0.6175 MB / 0.6998 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.965e-05/0.6017, allocations: 45.69 kB / 0.6999 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003682/0.6021, allocations: 396.3 kB / 0.7003 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002477/0.6024, allocations: 256.4 kB / 0.7005 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-05/0.6024, allocations: 16 kB / 0.7005 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001901/0.6026, allocations: 386.8 kB / 0.7009 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006154/0.6033, allocations: 237.9 kB / 0.7011 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007236/0.604, allocations: 362.5 kB / 0.7015 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007011/0.6047, allocations: 290.9 kB / 0.7017 GB, free: 5.18 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.6047, allocations: 0 / 0.7017 GB, free: 5.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002226/0.607, allocations: 0.8058 MB / 0.7025 GB, free: 4.363 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.607, allocations: 8 kB / 0.7025 GB, free: 4.355 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.607, allocations: 3.953 kB / 0.7025 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006611/0.6077, allocations: 84.84 kB / 0.7026 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008018/0.6085, allocations: 151.8 kB / 0.7028 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002146/0.6106, allocations: 1.545 MB / 0.7043 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007681/0.6114, allocations: 95.45 kB / 0.7044 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-05/0.6115, allocations: 31.97 kB / 0.7044 GB, free: 2.312 MB / 0.5137 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004828/0.612, allocations: 262.7 kB / 0.7046 GB, free: 2.047 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001687/0.6122, allocations: 82.97 kB / 0.7047 GB, free: 1.965 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002849/0.615, allocations: 1.09 MB / 0.7058 GB, free: 0.8594 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.6151, allocations: 8 kB / 0.7058 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.6151, allocations: 0 / 0.7058 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.6151, allocations: 11.92 kB / 0.7058 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003886/0.619, allocations: 1.957 MB / 0.7077 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.619, allocations: 0 / 0.7077 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007412/0.6198, allocations: 143.8 kB / 0.7079 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000581/0.6203, allocations: 84.77 kB / 0.7079 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.734e-05/0.6204, allocations: 27.94 kB / 0.708 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002009/0.6224, allocations: 1.575 MB / 0.7095 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.6225, allocations: 0 / 0.7095 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002328/0.6248, allocations: 0.9999 MB / 0.7105 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004938/0.6253, allocations: 287.7 kB / 0.7108 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001392/0.6255, allocations: 16 kB / 0.7108 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008223/0.6263, allocations: 86.73 kB / 0.7109 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001561/0.6265, allocations: 64.91 kB / 0.7109 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-05/0.6266, allocations: 39.97 kB / 0.711 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007457/0.6273, allocations: 451 kB / 0.7114 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6273, allocations: 4 kB / 0.7114 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001151/0.6285, allocations: 303.2 kB / 0.7117 GB, free: 10.6 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003976/0.6325, allocations: 2.037 MB / 0.7137 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001496/0.634, allocations: 0.8 MB / 0.7144 GB, free: 7.922 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.634, allocations: 0 / 0.7144 GB, free: 7.922 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008408/0.6348, allocations: 0.5199 MB / 0.715 GB, free: 7.387 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.6359, allocations: 245 kB / 0.7152 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009544/0.6454, allocations: 5.47 MB / 0.7205 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005369/0.646, allocations: 1.043 MB / 0.7215 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000831/0.6468, allocations: 258.5 kB / 0.7218 GB, free: 300 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004893/0.6473, allocations: 371.3 kB / 0.7221 GB, free: 15.93 MB / 0.545 GB Notification: Performance of SimCode: time 9.51e-07/0.6473, allocations: 4 kB / 0.7222 GB, free: 15.93 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1901/0.8375, allocations: 21.02 MB / 0.7427 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002213/0.8378, allocations: 262.2 kB / 0.7429 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.402/3.24, allocations: 0 / 0.7429 GB, free: 10.91 MB / 0.5606 GB (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/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) Environment - environmentSimulation: