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.0008268/0.0008266, allocations: 88.17 kB / 15.7 MB, free: 460 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.000975/0.0009751, allocations: 172.3 kB / 16.58 MB, free: 6.797 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.27/1.27, allocations: 223.3 MB / 240.6 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6449/0.6449, allocations: 113.7 MB / 405.5 MB, free: 4.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003208/0.0003208, allocations: 8 kB / 493.1 MB, free: 8.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1464, allocations: 77.12 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004508/0.151, allocations: 3.686 MB / 0.5605 GB, free: 7.961 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4352/0.5862, allocations: 136.8 MB / 0.694 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008245/0.5871, allocations: 15.88 kB / 0.6941 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0006535/0.5877, allocations: 135 kB / 0.6942 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001718/0.5895, allocations: 416.4 kB / 0.6946 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00194/0.5914, allocations: 0.6293 MB / 0.6952 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001523/0.593, allocations: 1.109 MB / 0.6963 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008531/0.5938, allocations: 487.6 kB / 0.6967 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006467/0.5945, allocations: 318.6 kB / 0.6971 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006284/0.5951, allocations: 362.1 kB / 0.6974 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001526/0.5953, allocations: 24 kB / 0.6974 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008474/0.5961, allocations: 335.7 kB / 0.6977 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002283/0.5964, allocations: 179.2 kB / 0.6979 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002614/0.5967, allocations: 201.1 kB / 0.6981 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001356/0.598, allocations: 1.169 MB / 0.6992 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.598, allocations: 0 / 0.6992 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.513e-06/0.598, allocations: 0 / 0.6992 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.449e-05/0.5981, allocations: 0 / 0.6992 GB, free: 9.008 MB / 0.5137 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.002483/0.6006, allocations: 1.213 MB / 0.7004 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.6006, allocations: 8.031 kB / 0.7004 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002481/0.6009, allocations: 135.2 kB / 0.7006 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009213/0.6018, allocations: 194.5 kB / 0.7008 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/0.603, allocations: 0.7146 MB / 0.7014 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.896e-05/0.6031, allocations: 65.95 kB / 0.7015 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.6032, allocations: 87.98 kB / 0.7016 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001676/0.6049, allocations: 0.9106 MB / 0.7025 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/0.6049, allocations: 7.938 kB / 0.7025 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.633e-05/0.605, allocations: 35.98 kB / 0.7025 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.984e-05/0.605, allocations: 20 kB / 0.7025 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00174/0.6068, allocations: 1.112 MB / 0.7036 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004043/0.6108, allocations: 2.562 MB / 0.7061 GB, free: 1.746 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001491/0.6123, allocations: 0.8754 MB / 0.707 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004918/0.6129, allocations: 302.7 kB / 0.7073 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.124e-05/0.6129, allocations: 40.58 kB / 0.7073 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008557/0.6138, allocations: 499.2 kB / 0.7078 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=79): time 2.866e-06/0.6138, allocations: 0 / 0.7078 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of matching and sorting (n=79): time 0.002797/0.6166, allocations: 1.199 MB / 0.709 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.6167, allocations: 196.5 kB / 0.7091 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000783/0.6175, allocations: 0.6175 MB / 0.7098 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.805e-05/0.6176, allocations: 45.7 kB / 0.7098 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003133/0.6179, allocations: 396.3 kB / 0.7102 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000208/0.6182, allocations: 248.4 kB / 0.7104 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.675e-05/0.6182, allocations: 12 kB / 0.7104 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.6184, allocations: 386.8 kB / 0.7108 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004553/0.6188, allocations: 253.9 kB / 0.711 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005536/0.6194, allocations: 358.5 kB / 0.7114 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005093/0.6199, allocations: 290.9 kB / 0.7117 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.6199, allocations: 0 / 0.7117 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001645/0.6216, allocations: 0.8019 MB / 0.7124 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/0.6216, allocations: 16.05 kB / 0.7125 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.6216, allocations: 0 / 0.7125 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005057/0.6221, allocations: 84.77 kB / 0.7125 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005627/0.6227, allocations: 147.8 kB / 0.7127 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001902/0.6246, allocations: 1.532 MB / 0.7142 GB, free: 9.191 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000606/0.6252, allocations: 99.42 kB / 0.7143 GB, free: 9.094 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.317e-05/0.6253, allocations: 31.98 kB / 0.7143 GB, free: 9.062 MB / 0.5294 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.000427/0.6258, allocations: 267.2 kB / 0.7145 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001545/0.6259, allocations: 90.92 kB / 0.7146 GB, free: 8.703 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002177/0.6281, allocations: 1.078 MB / 0.7157 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.6281, allocations: 11.94 kB / 0.7157 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.6281, allocations: 0 / 0.7157 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.6281, allocations: 7.969 kB / 0.7157 GB, free: 7.59 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003072/0.6312, allocations: 1.957 MB / 0.7176 GB, free: 5.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.6312, allocations: 3.984 kB / 0.7176 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005174/0.6318, allocations: 143.8 kB / 0.7178 GB, free: 5.426 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004417/0.6322, allocations: 84.77 kB / 0.7178 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.231e-05/0.6323, allocations: 27.94 kB / 0.7179 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001658/0.634, allocations: 1.556 MB / 0.7194 GB, free: 3.621 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.634, allocations: 4.062 kB / 0.7194 GB, free: 3.617 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001822/0.6358, allocations: 0.9921 MB / 0.7204 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004026/0.6362, allocations: 287.7 kB / 0.7206 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001508/0.6364, allocations: 16 kB / 0.7206 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006217/0.637, allocations: 90.8 kB / 0.7207 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/0.6372, allocations: 68.89 kB / 0.7208 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.3e-05/0.6372, allocations: 31.98 kB / 0.7208 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006508/0.6379, allocations: 455 kB / 0.7213 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.344e-06/0.6379, allocations: 0 / 0.7213 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0009548/0.6389, allocations: 311.1 kB / 0.7216 GB, free: 1.363 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.003892/0.6428, allocations: 2.042 MB / 0.7236 GB, free: 15.49 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001994/0.6448, allocations: 0.8001 MB / 0.7243 GB, free: 14.68 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/0.6449, allocations: 4 kB / 0.7243 GB, free: 14.68 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001055/0.6459, allocations: 0.5158 MB / 0.7248 GB, free: 14.14 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001891/0.6478, allocations: 257.9 kB / 0.7251 GB, free: 13.89 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01482/0.6627, allocations: 5.074 MB / 0.73 GB, free: 8.766 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008104/0.6636, allocations: 1.02 MB / 0.731 GB, free: 7.715 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001079/0.6647, allocations: 258.6 kB / 0.7313 GB, free: 7.457 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006156/0.6653, allocations: 371.3 kB / 0.7316 GB, free: 7.094 MB / 0.545 GB Notification: Performance of SimCode: time 1.503e-06/0.6653, allocations: 0 / 0.7316 GB, free: 7.094 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04736/0.7127, allocations: 21.05 MB / 0.7522 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002694/0.713, allocations: 267.3 kB / 0.7525 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.274/2.987, allocations: 0 / 0.7525 GB, free: 2.059 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: