Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",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.001241/0.001241, allocations: 107.9 kB / 16.41 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.247/1.247, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6539/0.6539, allocations: 115.3 MB / 406.5 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001077/0.001077, allocations: 65.11 kB / 0.5572 GB, free: 32.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1184, allocations: 76.19 MB / 0.6316 GB, free: 5.031 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.006385/0.1248, allocations: 4.988 MB / 0.6364 GB, free: 12 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.4279/0.5528, allocations: 150.7 MB / 0.7836 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006971/0.5535, allocations: 19.91 kB / 0.7837 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000558/0.5541, allocations: 198.2 kB / 0.7838 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001441/0.5556, allocations: 0.5618 MB / 0.7844 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001616/0.5572, allocations: 0.8805 MB / 0.7853 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001141/0.5583, allocations: 1.468 MB / 0.7867 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007095/0.5591, allocations: 0.6012 MB / 0.7873 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005531/0.5596, allocations: 0.5172 MB / 0.7878 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004809/0.5601, allocations: 0.5387 MB / 0.7883 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001378/0.5603, allocations: 125 kB / 0.7884 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007981/0.5611, allocations: 0.5051 MB / 0.7889 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002268/0.5613, allocations: 313.8 kB / 0.7892 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004093/0.5617, allocations: 0.5929 MB / 0.7898 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001395/0.5631, allocations: 1.723 MB / 0.7915 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.5631, allocations: 3.812 kB / 0.7915 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5631, allocations: 2.531 kB / 0.7915 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.334e-05/0.5632, allocations: 0 / 0.7915 GB, free: 13.3 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002274/0.5654, allocations: 1.505 MB / 0.793 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.5655, allocations: 8.25 kB / 0.793 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001357/0.5656, allocations: 143.2 kB / 0.7931 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008315/0.5665, allocations: 192.2 kB / 0.7933 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008934/0.5674, allocations: 0.7852 MB / 0.7941 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.465e-05/0.5674, allocations: 76.05 kB / 0.7941 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.889e-05/0.5675, allocations: 84.91 kB / 0.7942 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.5688, allocations: 0.9826 MB / 0.7952 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.5689, allocations: 0 / 0.7952 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.788e-05/0.5689, allocations: 35.19 kB / 0.7952 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.787e-05/0.569, allocations: 22.81 kB / 0.7952 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001463/0.5704, allocations: 1.156 MB / 0.7964 GB, free: 11.85 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003587/0.574, allocations: 2.9 MB / 0.7992 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001745/0.5758, allocations: 0.9693 MB / 0.8001 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004664/0.5763, allocations: 330.5 kB / 0.8004 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.519e-05/0.5763, allocations: 35.44 kB / 0.8005 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007493/0.5771, allocations: 0.5364 MB / 0.801 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=88): time 2.184e-06/0.5771, allocations: 0 / 0.801 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=88): time 0.002879/0.58, allocations: 1.297 MB / 0.8023 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.976e-05/0.5801, allocations: 202.2 kB / 0.8025 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006529/0.5808, allocations: 0.6489 MB / 0.8031 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.981e-05/0.5808, allocations: 50.62 kB / 0.8031 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002373/0.5811, allocations: 398.3 kB / 0.8035 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001868/0.5813, allocations: 292.3 kB / 0.8038 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002014/0.5815, allocations: 162 kB / 0.804 GB, free: 8.797 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.5816, allocations: 393 kB / 0.8043 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004503/0.5821, allocations: 269.7 kB / 0.8046 GB, free: 8.418 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005262/0.5826, allocations: 390.4 kB / 0.805 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009452/0.5836, allocations: 0.621 MB / 0.8056 GB, free: 8.188 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.5836, allocations: 0 / 0.8056 GB, free: 8.188 MB / 0.5919 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001714/0.5853, allocations: 0.874 MB / 0.8064 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.5853, allocations: 4.906 kB / 0.8064 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.5853, allocations: 3.984 kB / 0.8064 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000558/0.5859, allocations: 80.38 kB / 0.8065 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006254/0.5865, allocations: 170.2 kB / 0.8067 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001934/0.5885, allocations: 1.627 MB / 0.8083 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007003/0.5892, allocations: 98.53 kB / 0.8084 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.903e-05/0.5893, allocations: 38.84 kB / 0.8084 GB, free: 6.23 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 19 (solAzi.outsidePolarCircle,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 (96): * Single equations (assignments): 95 * 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.0003739/0.5896, allocations: 270.1 kB / 0.8086 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001508/0.5898, allocations: 89.38 kB / 0.8087 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002296/0.5921, allocations: 1.197 MB / 0.8099 GB, free: 5.297 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.5921, allocations: 14.44 kB / 0.8099 GB, free: 5.293 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.5921, allocations: 2.188 kB / 0.8099 GB, free: 5.293 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.5921, allocations: 7.969 kB / 0.8099 GB, free: 5.285 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003008/0.5952, allocations: 2.092 MB / 0.812 GB, free: 3.941 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.5952, allocations: 6.562 kB / 0.812 GB, free: 3.938 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005808/0.5958, allocations: 165.2 kB / 0.8121 GB, free: 3.898 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003975/0.5962, allocations: 66.89 kB / 0.8122 GB, free: 3.867 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-05/0.5962, allocations: 34.03 kB / 0.8122 GB, free: 3.844 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001645/0.5979, allocations: 1.656 MB / 0.8138 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.5979, allocations: 9.844 kB / 0.8139 GB, free: 2.227 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001872/0.5998, allocations: 1.09 MB / 0.8149 GB, free: 1.621 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003523/0.6001, allocations: 292 kB / 0.8152 GB, free: 1.367 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001291/0.6003, allocations: 29.33 kB / 0.8152 GB, free: 1.344 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006604/0.6009, allocations: 71.59 kB / 0.8153 GB, free: 1.312 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.6011, allocations: 82.83 kB / 0.8154 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.719e-05/0.6012, allocations: 45.09 kB / 0.8154 GB, free: 1.25 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004972/0.6017, allocations: 478.9 kB / 0.8159 GB, free: 0.9805 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6017, allocations: 0 / 0.8159 GB, free: 0.9805 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008231/0.6025, allocations: 337.6 kB / 0.8162 GB, free: 0.8906 MB / 0.5919 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 (106): * Single equations (assignments): 99 * 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.003187/0.6057, allocations: 2.158 MB / 0.8183 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001536/0.6072, allocations: 0.8632 MB / 0.8191 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.6073, allocations: 3 kB / 0.8191 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008553/0.6081, allocations: 0.5674 MB / 0.8197 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.6093, allocations: 308.8 kB / 0.82 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009151/0.6184, allocations: 6.56 MB / 0.8264 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005002/0.619, allocations: 1.052 MB / 0.8274 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007426/0.6197, allocations: 279.7 kB / 0.8277 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004992/0.6202, allocations: 415.6 kB / 0.8281 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.6202, allocations: 0 / 0.8281 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04639/0.6666, allocations: 23.38 MB / 0.8509 GB, free: 2.516 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.94, allocations: 10.03 kB / 0.8509 GB, free: 2.508 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)