Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001519/0.001519, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001657/0.001657, allocations: 193.8 kB / 16.14 MB, free: 6.688 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.358/1.358, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7555/0.7555, allocations: 132.2 MB / 422.2 MB, free: 2.027 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 60.09 kB / 0.5011 GB, free: 9.211 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1766, allocations: 80.2 MB / 0.5794 GB, free: 9.23 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006304/0.183, allocations: 4.163 MB / 0.5835 GB, free: 5.047 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4906/0.6735, allocations: 148.2 MB / 0.7282 GB, free: 3.332 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001199/0.6748, allocations: 19.28 kB / 0.7282 GB, free: 3.324 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009347/0.6758, allocations: 126.2 kB / 0.7283 GB, free: 3.254 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002396/0.6782, allocations: 413 kB / 0.7287 GB, free: 3.027 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002397/0.6806, allocations: 0.6895 MB / 0.7294 GB, free: 2.66 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002237/0.6829, allocations: 1.105 MB / 0.7305 GB, free: 2.129 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001205/0.6841, allocations: 0.5845 MB / 0.731 GB, free: 1.824 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00103/0.6852, allocations: 385.8 kB / 0.7314 GB, free: 1.648 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009156/0.6861, allocations: 418.8 kB / 0.7318 GB, free: 1.441 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003728/0.6865, allocations: 52.16 kB / 0.7318 GB, free: 1.441 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001481/0.688, allocations: 399.9 kB / 0.7322 GB, free: 1.332 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004506/0.6884, allocations: 215.5 kB / 0.7324 GB, free: 1.215 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001029/0.6895, allocations: 452.5 kB / 0.7329 GB, free: 0.9258 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003153/0.6926, allocations: 1.4 MB / 0.7342 GB, free: 356 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.6927, allocations: 1.188 kB / 0.7342 GB, free: 356 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6927, allocations: 4 kB / 0.7342 GB, free: 352 kB / 0.545 GB Notification: Performance of Transformations before backend: time 9.137e-05/0.6928, allocations: 0 / 0.7342 GB, free: 352 kB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.004022/0.6968, allocations: 1.333 MB / 0.7355 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.6968, allocations: 8.594 kB / 0.7355 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009673/0.6978, allocations: 172.6 kB / 0.7357 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009994/0.6988, allocations: 0.708 MB / 0.7364 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.129e-05/0.6989, allocations: 65.66 kB / 0.7365 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.403e-05/0.699, allocations: 75.16 kB / 0.7365 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00167/0.7007, allocations: 0.8688 MB / 0.7374 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/0.7007, allocations: 5.438 kB / 0.7374 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.341e-05/0.7008, allocations: 37.53 kB / 0.7374 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.719e-05/0.7008, allocations: 17.41 kB / 0.7374 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001852/0.7027, allocations: 1.064 MB / 0.7385 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004187/0.7069, allocations: 2.379 MB / 0.7408 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001375/0.7083, allocations: 0.8044 MB / 0.7416 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004963/0.7088, allocations: 279.9 kB / 0.7418 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.414e-05/0.7089, allocations: 29.67 kB / 0.7419 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008234/0.7097, allocations: 439.9 kB / 0.7423 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 2.184e-06/0.7098, allocations: 0 / 0.7423 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.003152/0.7129, allocations: 1.071 MB / 0.7433 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/0.713, allocations: 196 kB / 0.7435 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007582/0.7138, allocations: 0.5883 MB / 0.7441 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.761e-05/0.7139, allocations: 43.64 kB / 0.7441 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003199/0.7142, allocations: 377.4 kB / 0.7445 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002024/0.7144, allocations: 244.1 kB / 0.7447 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002248/0.7146, allocations: 148.1 kB / 0.7449 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.7148, allocations: 380.6 kB / 0.7452 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004491/0.7153, allocations: 238.1 kB / 0.7455 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00054/0.7158, allocations: 335.9 kB / 0.7458 GB, free: 8.516 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009748/0.7168, allocations: 0.565 MB / 0.7463 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/0.7168, allocations: 4 kB / 0.7463 GB, free: 7.992 MB / 0.5606 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001837/0.7187, allocations: 0.7863 MB / 0.7471 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/0.7187, allocations: 4 kB / 0.7471 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/0.7187, allocations: 3.984 kB / 0.7471 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006249/0.7193, allocations: 88.83 kB / 0.7472 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006289/0.72, allocations: 147.8 kB / 0.7473 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001963/0.722, allocations: 1.53 MB / 0.7488 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006866/0.7227, allocations: 67.41 kB / 0.7489 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.02e-05/0.7227, allocations: 40.75 kB / 0.7489 GB, free: 5.18 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: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * 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 (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.0004224/0.7232, allocations: 245.7 kB / 0.7492 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.7233, allocations: 79.06 kB / 0.7493 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002188/0.7255, allocations: 1.012 MB / 0.7502 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/0.7255, allocations: 8 kB / 0.7503 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.7255, allocations: 0 / 0.7503 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.7256, allocations: 3.984 kB / 0.7503 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003014/0.7286, allocations: 1.858 MB / 0.7521 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.7286, allocations: 0 / 0.7521 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005627/0.7292, allocations: 143.8 kB / 0.7522 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005159/0.7297, allocations: 84.77 kB / 0.7523 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.262e-05/0.7298, allocations: 27.92 kB / 0.7523 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001791/0.7315, allocations: 1.551 MB / 0.7538 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.7316, allocations: 0 / 0.7538 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001807/0.7334, allocations: 0.9141 MB / 0.7547 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003368/0.7337, allocations: 263.8 kB / 0.755 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.7338, allocations: 16 kB / 0.755 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005789/0.7344, allocations: 51.95 kB / 0.755 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/0.7346, allocations: 64.56 kB / 0.7551 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.296e-05/0.7347, allocations: 31.98 kB / 0.7551 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005105/0.7352, allocations: 431 kB / 0.7555 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7352, allocations: 0 / 0.7555 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009277/0.7361, allocations: 295.2 kB / 0.7558 GB, free: 13.89 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: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001378/0.7375, allocations: 0.5995 MB / 0.7564 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001552/0.7391, allocations: 0.7563 MB / 0.7571 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.7391, allocations: 4.234 kB / 0.7571 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008422/0.7399, allocations: 0.489 MB / 0.7576 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/0.7411, allocations: 263.2 kB / 0.7579 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003741/0.7449, allocations: 2.062 MB / 0.7599 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005112/0.7454, allocations: 0.9966 MB / 0.7609 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008224/0.7462, allocations: 250.1 kB / 0.7611 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002403/0.7465, allocations: 99.39 kB / 0.7612 GB, free: 8.535 MB / 0.5762 GB Notification: Performance of SimCode: time 5.81e-07/0.7465, allocations: 4 kB / 0.7612 GB, free: 8.531 MB / 0.5762 GB Notification: Performance of Templates: time 0.0222/0.7687, allocations: 13.25 MB / 0.7741 GB, free: 11.45 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)