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.001361/0.001361, allocations: 107.2 kB / 16.4 MB, free: 6.445 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.001616/0.001616, allocations: 195.9 kB / 17.34 MB, free: 5.719 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.408/1.408, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7698/0.7698, allocations: 115.3 MB / 406.5 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002269/0.00227, allocations: 67.75 kB / 0.5572 GB, free: 32.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.164, allocations: 76.18 MB / 0.6316 GB, free: 4.91 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.007762/0.1718, allocations: 4.992 MB / 0.6364 GB, free: 15.89 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5622/0.7341, allocations: 150.7 MB / 0.7836 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009284/0.7351, allocations: 16.47 kB / 0.7837 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008112/0.7359, allocations: 202 kB / 0.7838 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00218/0.7381, allocations: 0.5676 MB / 0.7844 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002194/0.7404, allocations: 0.8742 MB / 0.7853 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001854/0.7422, allocations: 1.476 MB / 0.7867 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001027/0.7433, allocations: 0.5988 MB / 0.7873 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009546/0.7442, allocations: 0.52 MB / 0.7878 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009994/0.7453, allocations: 0.5405 MB / 0.7883 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000447/0.7457, allocations: 121 kB / 0.7884 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001453/0.7472, allocations: 0.5042 MB / 0.7889 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004701/0.7477, allocations: 315 kB / 0.7892 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008962/0.7486, allocations: 0.5873 MB / 0.7898 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002705/0.7513, allocations: 1.724 MB / 0.7915 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.7513, allocations: 2.188 kB / 0.7915 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7513, allocations: 4 kB / 0.7915 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.224e-05/0.7514, allocations: 0 / 0.7915 GB, free: 12.88 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.003868/0.7553, allocations: 1.504 MB / 0.793 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.7553, allocations: 10.69 kB / 0.793 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002708/0.7556, allocations: 141.1 kB / 0.7931 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0012/0.7568, allocations: 194.5 kB / 0.7933 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001781/0.7586, allocations: 0.784 MB / 0.7941 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.162e-05/0.7587, allocations: 71.84 kB / 0.7941 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002383/0.759, allocations: 84.56 kB / 0.7942 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002653/0.7617, allocations: 0.9807 MB / 0.7952 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.443e-05/0.7617, allocations: 1.219 kB / 0.7952 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001785/0.7619, allocations: 39.91 kB / 0.7952 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.175e-05/0.762, allocations: 21.16 kB / 0.7952 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002424/0.7644, allocations: 1.162 MB / 0.7964 GB, free: 11.42 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.006459/0.7709, allocations: 2.892 MB / 0.7992 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002443/0.7734, allocations: 0.9734 MB / 0.8001 GB, free: 9.957 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006751/0.7741, allocations: 326.7 kB / 0.8004 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001041/0.7742, allocations: 35.47 kB / 0.8005 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001178/0.7754, allocations: 0.5324 MB / 0.801 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=88): time 5.73e-06/0.7754, allocations: 3.938 kB / 0.801 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of matching and sorting (n=88): time 0.003711/0.7791, allocations: 1.301 MB / 0.8023 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001412/0.7793, allocations: 194.7 kB / 0.8025 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/0.7805, allocations: 0.6579 MB / 0.8031 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001412/0.7806, allocations: 44.67 kB / 0.8031 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003629/0.781, allocations: 403.8 kB / 0.8035 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000322/0.7813, allocations: 283.3 kB / 0.8038 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000301/0.7816, allocations: 165.7 kB / 0.804 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001943/0.7818, allocations: 389.2 kB / 0.8043 GB, free: 8.016 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005687/0.7824, allocations: 269.6 kB / 0.8046 GB, free: 7.973 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006975/0.7831, allocations: 389 kB / 0.805 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/0.7843, allocations: 0.6284 MB / 0.8056 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.7843, allocations: 0 / 0.8056 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002254/0.7866, allocations: 0.8698 MB / 0.8064 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.95e-05/0.7866, allocations: 5.281 kB / 0.8064 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.7867, allocations: 0 / 0.8064 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006189/0.7873, allocations: 89.02 kB / 0.8065 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007313/0.788, allocations: 166 kB / 0.8067 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002189/0.7902, allocations: 1.626 MB / 0.8083 GB, free: 5.992 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/0.7913, allocations: 105 kB / 0.8084 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001211/0.7914, allocations: 37.47 kB / 0.8084 GB, free: 5.93 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.0005973/0.792, allocations: 268.7 kB / 0.8086 GB, free: 5.789 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002764/0.7923, allocations: 90.34 kB / 0.8087 GB, free: 5.742 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002895/0.7952, allocations: 1.208 MB / 0.8099 GB, free: 5.23 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/0.7953, allocations: 9.656 kB / 0.8099 GB, free: 5.23 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.7953, allocations: 0 / 0.8099 GB, free: 5.23 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.43e-05/0.7953, allocations: 3.984 kB / 0.8099 GB, free: 5.227 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004296/0.7996, allocations: 2.094 MB / 0.812 GB, free: 3.883 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.7996, allocations: 0 / 0.812 GB, free: 3.883 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006549/0.8003, allocations: 167.8 kB / 0.8121 GB, free: 3.844 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004823/0.8008, allocations: 74.88 kB / 0.8122 GB, free: 3.805 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/0.8009, allocations: 27.3 kB / 0.8122 GB, free: 3.785 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002113/0.803, allocations: 1.668 MB / 0.8139 GB, free: 2.164 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.803, allocations: 0 / 0.8139 GB, free: 2.164 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002609/0.8057, allocations: 1.09 MB / 0.8149 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006126/0.8063, allocations: 288.1 kB / 0.8152 GB, free: 1.309 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002105/0.8065, allocations: 25.19 kB / 0.8152 GB, free: 1.289 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008146/0.8074, allocations: 76.77 kB / 0.8153 GB, free: 1.25 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001946/0.8076, allocations: 82.56 kB / 0.8154 GB, free: 1.207 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.029e-05/0.8077, allocations: 43.17 kB / 0.8154 GB, free: 1.191 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006928/0.8084, allocations: 477.1 kB / 0.8159 GB, free: 0.9219 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8084, allocations: 0 / 0.8159 GB, free: 0.9219 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001169/0.8095, allocations: 341.3 kB / 0.8162 GB, free: 0.8281 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.004641/0.8142, allocations: 2.164 MB / 0.8183 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002254/0.8165, allocations: 0.8698 MB / 0.8192 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.8165, allocations: 0 / 0.8192 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001177/0.8177, allocations: 0.5597 MB / 0.8197 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00206/0.8198, allocations: 301.4 kB / 0.82 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01368/0.8335, allocations: 6.575 MB / 0.8264 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000927/0.8345, allocations: 1.04 MB / 0.8274 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001277/0.8358, allocations: 280.2 kB / 0.8277 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009376/0.8367, allocations: 415.9 kB / 0.8281 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of SimCode: time 1.833e-06/0.8368, allocations: 0 / 0.8281 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0613/0.8981, allocations: 23.39 MB / 0.8509 GB, free: 2.336 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.75/14.65, allocations: 5.812 kB / 0.8509 GB, free: 2.332 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)