Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001093/0.001093, allocations: 107 kB / 16.37 MB, free: 6.477 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.001114/0.001114, allocations: 195.8 kB / 17.31 MB, free: 5.824 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.225/1.225, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7378/0.7378, allocations: 135.1 MB / 426.3 MB, free: 4.164 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 67.89 kB / 0.5068 GB, free: 7.691 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2861, allocations: 80.9 MB / 0.5858 GB, free: 25.51 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.004785/0.2909, allocations: 4.139 MB / 0.5898 GB, free: 22.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1381/0.429, allocations: 150.5 MB / 0.7367 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007103/0.4297, allocations: 19.88 kB / 0.7368 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006396/0.4304, allocations: 162.5 kB / 0.7369 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001633/0.4321, allocations: 489.1 kB / 0.7374 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001833/0.4339, allocations: 0.7946 MB / 0.7382 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001334/0.4353, allocations: 1.192 MB / 0.7393 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009153/0.4362, allocations: 0.6196 MB / 0.7399 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000608/0.4368, allocations: 434.5 kB / 0.7403 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005767/0.4374, allocations: 446 kB / 0.7408 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000189/0.4376, allocations: 104 kB / 0.7409 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008496/0.4385, allocations: 479.6 kB / 0.7413 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002694/0.4387, allocations: 271.1 kB / 0.7416 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005038/0.4393, allocations: 0.4935 MB / 0.7421 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001678/0.4409, allocations: 1.476 MB / 0.7435 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.441, allocations: 0 / 0.7435 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.453e-06/0.441, allocations: 0 / 0.7435 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.619e-05/0.441, allocations: 0 / 0.7435 GB, free: 8.48 MB / 0.5762 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.002207/0.4432, allocations: 1.338 MB / 0.7448 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.4433, allocations: 9.109 kB / 0.7448 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008528/0.4441, allocations: 183.5 kB / 0.745 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009754/0.4451, allocations: 0.7267 MB / 0.7457 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.506e-05/0.4452, allocations: 58 kB / 0.7458 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.308e-05/0.4453, allocations: 76 kB / 0.7458 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001266/0.4465, allocations: 0.8716 MB / 0.7467 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.4466, allocations: 3.938 kB / 0.7467 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.746e-05/0.4466, allocations: 32 kB / 0.7467 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/0.4467, allocations: 20 kB / 0.7467 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001465/0.4481, allocations: 1.069 MB / 0.7478 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003209/0.4513, allocations: 2.348 MB / 0.7501 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/0.4525, allocations: 0.7943 MB / 0.7509 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004443/0.453, allocations: 280.9 kB / 0.7511 GB, free: 456 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.902e-05/0.4531, allocations: 36.67 kB / 0.7512 GB, free: 420 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.23/0.6831, allocations: 429 kB / 0.7516 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=73): time 4.418e-06/0.6831, allocations: 1.641 kB / 0.7516 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73): time 0.003057/0.6862, allocations: 1.075 MB / 0.7526 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.724e-05/0.6863, allocations: 195.4 kB / 0.7528 GB, free: 165 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006536/0.6869, allocations: 0.5869 MB / 0.7534 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.715e-05/0.687, allocations: 37.8 kB / 0.7534 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000203/0.6872, allocations: 379.2 kB / 0.7538 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.6873, allocations: 244.3 kB / 0.754 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000194/0.6875, allocations: 151 kB / 0.7542 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.056e-05/0.6876, allocations: 380.6 kB / 0.7545 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003859/0.688, allocations: 238.6 kB / 0.7547 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005003/0.6885, allocations: 333.2 kB / 0.7551 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009279/0.6894, allocations: 0.5629 MB / 0.7556 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.6894, allocations: 0.5312 kB / 0.7556 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001646/0.6911, allocations: 0.7866 MB / 0.7564 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.6911, allocations: 5.594 kB / 0.7564 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.6911, allocations: 2.828 kB / 0.7564 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005761/0.6917, allocations: 82.36 kB / 0.7565 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006118/0.6923, allocations: 152.5 kB / 0.7566 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001725/0.6941, allocations: 1.627 MB / 0.7582 GB, free: 161.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005613/0.6946, allocations: 78.34 kB / 0.7583 GB, free: 161.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.739e-05/0.6947, allocations: 38.66 kB / 0.7583 GB, free: 161.5 MB / 0.5762 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.0003353/0.6951, allocations: 269.7 kB / 0.7586 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/0.6952, allocations: 75.62 kB / 0.7586 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002265/0.6975, allocations: 0.9898 MB / 0.7596 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.301e-05/0.6975, allocations: 12.78 kB / 0.7596 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.6975, allocations: 4.469 kB / 0.7596 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.6975, allocations: 7.953 kB / 0.7596 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002998/0.7005, allocations: 1.864 MB / 0.7615 GB, free: 159.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.7006, allocations: 4.625 kB / 0.7615 GB, free: 159.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005848/0.7012, allocations: 148.5 kB / 0.7616 GB, free: 159.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004317/0.7016, allocations: 72.5 kB / 0.7617 GB, free: 159.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.605e-05/0.7017, allocations: 21.08 kB / 0.7617 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001444/0.7031, allocations: 1.658 MB / 0.7633 GB, free: 158.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.7031, allocations: 0 / 0.7633 GB, free: 158.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001647/0.7048, allocations: 0.922 MB / 0.7642 GB, free: 157.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00032/0.7051, allocations: 257.4 kB / 0.7645 GB, free: 157.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/0.7052, allocations: 25.39 kB / 0.7645 GB, free: 157.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005257/0.7058, allocations: 49.45 kB / 0.7645 GB, free: 157.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.7059, allocations: 58.84 kB / 0.7646 GB, free: 157.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-05/0.706, allocations: 34.48 kB / 0.7646 GB, free: 157.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004654/0.7064, allocations: 428.8 kB / 0.765 GB, free: 157.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.72e-07/0.7065, allocations: 0 / 0.765 GB, free: 157.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000848/0.7073, allocations: 290.4 kB / 0.7653 GB, free: 157.1 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.001245/0.7086, allocations: 0.5966 MB / 0.7659 GB, free: 156.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001313/0.7099, allocations: 0.7629 MB / 0.7666 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.7099, allocations: 0.5 kB / 0.7666 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006668/0.7106, allocations: 0.4961 MB / 0.7671 GB, free: 156.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009545/0.7115, allocations: 289.3 kB / 0.7674 GB, free: 155.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002891/0.7144, allocations: 1.651 MB / 0.769 GB, free: 154.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.7148, allocations: 1.001 MB / 0.77 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005796/0.7153, allocations: 254.6 kB / 0.7702 GB, free: 153 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001934/0.7155, allocations: 99.33 kB / 0.7703 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of SimCode: time 5.71e-07/0.7155, allocations: 3.938 kB / 0.7703 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.0173/0.7329, allocations: 13.8 MB / 0.7838 GB, free: 139.3 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)