Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 110.9 kB / 16.37 MB, free: 6.469 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.001367/0.001367, allocations: 189.9 kB / 17.3 MB, free: 5.828 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.292/1.292, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7801/0.7801, allocations: 135.1 MB / 426.3 MB, free: 4.18 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 67.88 kB / 0.5067 GB, free: 7.727 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.3731, allocations: 80.92 MB / 0.5858 GB, free: 25.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005358/0.3785, allocations: 4.083 MB / 0.5897 GB, free: 22.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1487/0.5272, allocations: 150.4 MB / 0.7367 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009144/0.5282, allocations: 15.94 kB / 0.7367 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005424/0.5288, allocations: 166.5 kB / 0.7368 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001483/0.5303, allocations: 471.7 kB / 0.7373 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001803/0.5321, allocations: 0.7864 MB / 0.7381 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001056/0.5332, allocations: 1.172 MB / 0.7392 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007851/0.534, allocations: 0.6193 MB / 0.7398 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004585/0.5344, allocations: 426.5 kB / 0.7402 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000436/0.5349, allocations: 446 kB / 0.7406 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001235/0.535, allocations: 104 kB / 0.7407 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007465/0.5358, allocations: 479.5 kB / 0.7412 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002436/0.536, allocations: 267.2 kB / 0.7415 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003691/0.5364, allocations: 0.4896 MB / 0.7419 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001396/0.5378, allocations: 1.487 MB / 0.7434 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.5378, allocations: 0 / 0.7434 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.914e-06/0.5378, allocations: 0 / 0.7434 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.047e-05/0.5379, allocations: 0 / 0.7434 GB, free: 8.621 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001927/0.5398, allocations: 1.311 MB / 0.7447 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.5398, allocations: 17.11 kB / 0.7447 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008344/0.5407, allocations: 171.5 kB / 0.7448 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/0.5417, allocations: 0.7228 MB / 0.7456 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.697e-05/0.5417, allocations: 58 kB / 0.7456 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.202e-05/0.5418, allocations: 80 kB / 0.7457 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/0.5431, allocations: 0.852 MB / 0.7465 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.5431, allocations: 4 kB / 0.7465 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.231e-05/0.5432, allocations: 36 kB / 0.7466 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/0.5432, allocations: 23.98 kB / 0.7466 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00155/0.5448, allocations: 1.054 MB / 0.7476 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00346/0.5483, allocations: 2.351 MB / 0.7499 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001281/0.5496, allocations: 0.7976 MB / 0.7507 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004549/0.55, allocations: 274.4 kB / 0.7509 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.713e-05/0.5501, allocations: 32.59 kB / 0.751 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006721/0.5508, allocations: 420.5 kB / 0.7514 GB, free: 192 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 2.154e-06/0.5508, allocations: 0 / 0.7514 GB, free: 192 kB / 0.5762 GB Notification: Performance of matching and sorting (n=70): time 0.3103/0.8611, allocations: 1.06 MB / 0.7524 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.329e-05/0.8612, allocations: 191.2 kB / 0.7526 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/0.8623, allocations: 0.5879 MB / 0.7532 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.047e-05/0.8624, allocations: 39.08 kB / 0.7532 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003106/0.8627, allocations: 366.7 kB / 0.7536 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001806/0.8629, allocations: 230.5 kB / 0.7538 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002469/0.8631, allocations: 146.8 kB / 0.7539 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.8633, allocations: 385.3 kB / 0.7543 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004536/0.8637, allocations: 239.3 kB / 0.7545 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006693/0.8644, allocations: 322.7 kB / 0.7548 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/0.8656, allocations: 0.5423 MB / 0.7553 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.8656, allocations: 4.344 kB / 0.7554 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002197/0.8678, allocations: 0.7562 MB / 0.7561 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.203e-05/0.8678, allocations: 6.094 kB / 0.7561 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.8678, allocations: 3.094 kB / 0.7561 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006679/0.8685, allocations: 83.14 kB / 0.7562 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006392/0.8692, allocations: 144.2 kB / 0.7563 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002005/0.8712, allocations: 1.651 MB / 0.7579 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006828/0.8719, allocations: 77.36 kB / 0.758 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/0.872, allocations: 31.34 kB / 0.758 GB, free: 161.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (81): * Single equations (assignments): 80 * 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.0004742/0.8725, allocations: 252.7 kB / 0.7583 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/0.8726, allocations: 82.77 kB / 0.7584 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002441/0.8751, allocations: 0.9562 MB / 0.7593 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.852e-05/0.8751, allocations: 8.875 kB / 0.7593 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.8751, allocations: 1.094 kB / 0.7593 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.8751, allocations: 3.984 kB / 0.7593 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003527/0.8787, allocations: 1.842 MB / 0.7611 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.8787, allocations: 0 / 0.7611 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005003/0.8792, allocations: 142.4 kB / 0.7612 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004116/0.8796, allocations: 75.31 kB / 0.7613 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.696e-05/0.8797, allocations: 25.58 kB / 0.7613 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001712/0.8814, allocations: 1.668 MB / 0.763 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.8814, allocations: 6.438 kB / 0.763 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001723/0.8832, allocations: 0.8904 MB / 0.7638 GB, free: 158.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003385/0.8835, allocations: 255.4 kB / 0.7641 GB, free: 158 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/0.8836, allocations: 16.47 kB / 0.7641 GB, free: 158 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005266/0.8842, allocations: 54.25 kB / 0.7641 GB, free: 158 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/0.8843, allocations: 58.55 kB / 0.7642 GB, free: 157.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.036e-05/0.8844, allocations: 28.39 kB / 0.7642 GB, free: 157.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005254/0.8849, allocations: 427.9 kB / 0.7646 GB, free: 157.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8849, allocations: 0.5312 kB / 0.7646 GB, free: 157.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009445/0.8859, allocations: 278.8 kB / 0.7649 GB, free: 157.6 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 (81): * Single equations (assignments): 78 * 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.001402/0.8873, allocations: 0.5989 MB / 0.7655 GB, free: 157.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001457/0.8888, allocations: 0.7536 MB / 0.7662 GB, free: 157 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.8888, allocations: 1.062 kB / 0.7662 GB, free: 157 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000796/0.8896, allocations: 484 kB / 0.7667 GB, free: 156.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.8907, allocations: 289.9 kB / 0.767 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00308/0.8938, allocations: 1.623 MB / 0.7685 GB, free: 154.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003798/0.8942, allocations: 0.993 MB / 0.7695 GB, free: 153.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006566/0.8949, allocations: 244.5 kB / 0.7697 GB, free: 153.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002027/0.8951, allocations: 95.8 kB / 0.7698 GB, free: 153.6 MB / 0.5762 GB Notification: Performance of SimCode: time 7.42e-07/0.8951, allocations: 0 / 0.7698 GB, free: 153.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.01818/0.9133, allocations: 13.63 MB / 0.7832 GB, free: 140.1 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)