Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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: translateModel(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 92.94 kB / 16.67 MB, free: 6.59 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.00124/0.001241, allocations: 185.5 kB / 17.58 MB, free: 6.188 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.417/1.417, allocations: 223.3 MB / 241.6 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7676/0.7676, allocations: 115.5 MB / 408.2 MB, free: 7.113 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003688/0.000369, allocations: 8 kB / 496.5 MB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.42/0.4204, allocations: 77.51 MB / 0.5606 GB, free: 36.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005219/0.4257, allocations: 4.499 MB / 0.565 GB, free: 33 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1795/0.6051, allocations: 146.7 MB / 0.7083 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001282/0.6065, allocations: 15.94 kB / 0.7083 GB, free: 11.63 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006642/0.6072, allocations: 150.8 kB / 0.7084 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002127/0.6093, allocations: 485 kB / 0.7089 GB, free: 11.01 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0021/0.6114, allocations: 0.7363 MB / 0.7096 GB, free: 10.28 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001873/0.6133, allocations: 1.339 MB / 0.7109 GB, free: 8.934 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009156/0.6142, allocations: 0.5558 MB / 0.7115 GB, free: 8.352 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007039/0.6149, allocations: 378.2 kB / 0.7118 GB, free: 7.98 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005505/0.6155, allocations: 409.7 kB / 0.7122 GB, free: 7.578 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.242e-05/0.6156, allocations: 28 kB / 0.7122 GB, free: 7.551 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009175/0.6165, allocations: 375.6 kB / 0.7126 GB, free: 7.184 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002303/0.6168, allocations: 187.1 kB / 0.7128 GB, free: 7 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004841/0.6173, allocations: 498.8 kB / 0.7133 GB, free: 6.504 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001317/0.6186, allocations: 1.2 MB / 0.7144 GB, free: 5.301 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.6186, allocations: 0 / 0.7144 GB, free: 5.301 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.104e-06/0.6186, allocations: 0 / 0.7144 GB, free: 5.301 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.771e-05/0.6186, allocations: 0 / 0.7144 GB, free: 5.301 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002456/0.6211, allocations: 1.25 MB / 0.7156 GB, free: 4.004 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.6211, allocations: 8.031 kB / 0.7157 GB, free: 3.996 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009404/0.6221, allocations: 203.3 kB / 0.7158 GB, free: 3.797 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/0.6232, allocations: 0.7586 MB / 0.7166 GB, free: 2.996 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.348e-05/0.6233, allocations: 62 kB / 0.7166 GB, free: 2.934 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/0.6234, allocations: 80 kB / 0.7167 GB, free: 2.855 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001745/0.6252, allocations: 0.9496 MB / 0.7176 GB, free: 1.867 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/0.6252, allocations: 3.938 kB / 0.7177 GB, free: 1.863 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.381e-05/0.6253, allocations: 39.98 kB / 0.7177 GB, free: 1.824 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.679e-05/0.6254, allocations: 28 kB / 0.7177 GB, free: 1.797 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001732/0.6271, allocations: 1.136 MB / 0.7188 GB, free: 0.6602 MB / 0.545 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.004216/0.6313, allocations: 2.784 MB / 0.7215 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00154/0.6329, allocations: 0.9205 MB / 0.7224 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005595/0.6335, allocations: 322.7 kB / 0.7228 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.432e-05/0.6335, allocations: 28.67 kB / 0.7228 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009347/0.6345, allocations: 0.5332 MB / 0.7233 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=85): time 2.315e-06/0.6345, allocations: 0 / 0.7233 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85): time 0.00326/0.6378, allocations: 1.267 MB / 0.7245 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.6379, allocations: 192.9 kB / 0.7247 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007992/0.6387, allocations: 0.6488 MB / 0.7254 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.211e-05/0.6388, allocations: 41.7 kB / 0.7254 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003174/0.6391, allocations: 404.4 kB / 0.7258 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002236/0.6393, allocations: 272.1 kB / 0.726 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.6394, allocations: 69.69 kB / 0.7261 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.6396, allocations: 390.7 kB / 0.7265 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005405/0.6402, allocations: 281.8 kB / 0.7267 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006313/0.6408, allocations: 388 kB / 0.7271 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.642, allocations: 0.6407 MB / 0.7277 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.642, allocations: 0 / 0.7277 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001935/0.6439, allocations: 0.8956 MB / 0.7286 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.6439, allocations: 9.656 kB / 0.7286 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.644, allocations: 3.938 kB / 0.7286 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000599/0.6446, allocations: 88.89 kB / 0.7287 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007332/0.6453, allocations: 175.7 kB / 0.7289 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002013/0.6473, allocations: 1.524 MB / 0.7304 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000824/0.6482, allocations: 116.5 kB / 0.7305 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.917e-05/0.6482, allocations: 39.97 kB / 0.7305 GB, free: 4.227 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (101): * Single equations (assignments): 100 * 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.0004825/0.6487, allocations: 271.7 kB / 0.7308 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/0.6489, allocations: 91.14 kB / 0.7309 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002457/0.6513, allocations: 1.14 MB / 0.732 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.6514, allocations: 15.94 kB / 0.732 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.6514, allocations: 0 / 0.732 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.6514, allocations: 7.922 kB / 0.732 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003274/0.6547, allocations: 2.035 MB / 0.734 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.6547, allocations: 0 / 0.734 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006251/0.6553, allocations: 159.8 kB / 0.7341 GB, free: 448 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005143/0.6558, allocations: 80.77 kB / 0.7342 GB, free: 364 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.065e-05/0.6559, allocations: 35.97 kB / 0.7343 GB, free: 328 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001806/0.6577, allocations: 1.54 MB / 0.7358 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.6577, allocations: 4.031 kB / 0.7358 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002063/0.6598, allocations: 1.066 MB / 0.7368 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004453/0.6603, allocations: 299.5 kB / 0.7371 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/0.6604, allocations: 19.94 kB / 0.7371 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007205/0.6611, allocations: 88.73 kB / 0.7372 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001653/0.6613, allocations: 72.89 kB / 0.7373 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.586e-05/0.6614, allocations: 43.97 kB / 0.7373 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005891/0.662, allocations: 459 kB / 0.7377 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.662, allocations: 0 / 0.7377 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009532/0.6629, allocations: 339.2 kB / 0.7381 GB, free: 12.24 MB / 0.5762 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 (100): * Single equations (assignments): 93 * 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.001466/0.6644, allocations: 0.6007 MB / 0.7387 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001838/0.6663, allocations: 0.8822 MB / 0.7395 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.6663, allocations: 0 / 0.7395 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009523/0.6672, allocations: 0.5471 MB / 0.74 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001422/0.6687, allocations: 282.1 kB / 0.7403 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003437/0.6721, allocations: 2.203 MB / 0.7425 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006438/0.6728, allocations: 1.036 MB / 0.7435 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003741/0.6732, allocations: 119.4 kB / 0.7436 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of SimCode: time 6.21e-07/0.6732, allocations: 0 / 0.7436 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of Templates: time 0.3307/1.004, allocations: 18.84 MB / 0.762 GB, free: 168.4 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)