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.001484/0.001483, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001779/0.00178, allocations: 198.8 kB / 16.14 MB, free: 6.645 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.38/1.38, allocations: 222.9 MB / 239.8 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9589/0.9589, allocations: 135.1 MB / 425.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 68.59 kB / 0.5047 GB, free: 5.773 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1821/0.1833, allocations: 80.93 MB / 0.5837 GB, free: 5.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006318/0.1896, allocations: 4.146 MB / 0.5878 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5334/0.723, allocations: 148.1 MB / 0.7324 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001063/0.7241, allocations: 20.09 kB / 0.7325 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006345/0.7248, allocations: 133.7 kB / 0.7326 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001769/0.7266, allocations: 409 kB / 0.733 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001997/0.7286, allocations: 0.6906 MB / 0.7337 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001488/0.7301, allocations: 1.109 MB / 0.7347 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009836/0.7311, allocations: 0.5829 MB / 0.7353 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000671/0.7318, allocations: 377.6 kB / 0.7357 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005444/0.7323, allocations: 427 kB / 0.7361 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001296/0.7325, allocations: 51.88 kB / 0.7361 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001059/0.7335, allocations: 397.8 kB / 0.7365 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002407/0.7338, allocations: 211.9 kB / 0.7367 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004998/0.7343, allocations: 459.8 kB / 0.7371 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001557/0.7359, allocations: 1.393 MB / 0.7385 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.7359, allocations: 1.531 kB / 0.7385 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7359, allocations: 0 / 0.7385 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.614e-05/0.7359, allocations: 4 kB / 0.7385 GB, free: 11.23 MB / 0.5606 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.002454/0.7384, allocations: 1.327 MB / 0.7398 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.7384, allocations: 10.69 kB / 0.7398 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000922/0.7394, allocations: 178.9 kB / 0.74 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001037/0.7404, allocations: 0.7098 MB / 0.7407 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.377e-05/0.7405, allocations: 62.5 kB / 0.7407 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.7406, allocations: 75.38 kB / 0.7408 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.7421, allocations: 0.8682 MB / 0.7417 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.7422, allocations: 5.312 kB / 0.7417 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.287e-05/0.7423, allocations: 36.25 kB / 0.7417 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.832e-05/0.7423, allocations: 19.25 kB / 0.7417 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001833/0.7442, allocations: 1.067 MB / 0.7428 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003719/0.7479, allocations: 2.384 MB / 0.7451 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001261/0.7492, allocations: 0.797 MB / 0.7459 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005166/0.7497, allocations: 284 kB / 0.7461 GB, free: 6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.437e-05/0.7498, allocations: 25.16 kB / 0.7462 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001003/0.7508, allocations: 437.8 kB / 0.7466 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 2.455e-06/0.7508, allocations: 0 / 0.7466 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.002957/0.7538, allocations: 1.078 MB / 0.7476 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001325/0.7539, allocations: 187.7 kB / 0.7478 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007747/0.7547, allocations: 0.5908 MB / 0.7484 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.431e-05/0.7548, allocations: 41.7 kB / 0.7484 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003727/0.7552, allocations: 372.3 kB / 0.7488 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002366/0.7554, allocations: 248.5 kB / 0.749 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002576/0.7557, allocations: 154.5 kB / 0.7492 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001922/0.7559, allocations: 374.8 kB / 0.7495 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000456/0.7563, allocations: 237.9 kB / 0.7497 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005818/0.7569, allocations: 340 kB / 0.7501 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.7579, allocations: 0.5573 MB / 0.7506 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.758, allocations: 4 kB / 0.7506 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001762/0.7597, allocations: 0.7824 MB / 0.7514 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.7598, allocations: 11.98 kB / 0.7514 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.7598, allocations: 0 / 0.7514 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005926/0.7604, allocations: 80.91 kB / 0.7515 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006021/0.761, allocations: 155.7 kB / 0.7516 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002136/0.7631, allocations: 1.524 MB / 0.7531 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006646/0.7638, allocations: 75.39 kB / 0.7532 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.941e-05/0.7639, allocations: 39.97 kB / 0.7532 GB, free: 15.18 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.0005145/0.7644, allocations: 245.7 kB / 0.7535 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001607/0.7646, allocations: 75.06 kB / 0.7535 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002301/0.7669, allocations: 1.001 MB / 0.7545 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.088e-06/0.7669, allocations: 20.95 kB / 0.7545 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.7669, allocations: 0 / 0.7545 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.7669, allocations: 7.969 kB / 0.7545 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003103/0.77, allocations: 1.859 MB / 0.7563 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.7701, allocations: 0 / 0.7563 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005689/0.7706, allocations: 143.8 kB / 0.7565 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005229/0.7712, allocations: 88.7 kB / 0.7566 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.305e-05/0.7712, allocations: 27.92 kB / 0.7566 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001806/0.773, allocations: 1.54 MB / 0.7581 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.7731, allocations: 4.031 kB / 0.7581 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001785/0.7748, allocations: 0.918 MB / 0.759 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003324/0.7752, allocations: 256.3 kB / 0.7592 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.7753, allocations: 19.98 kB / 0.7593 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005505/0.7759, allocations: 51.95 kB / 0.7593 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.776, allocations: 60.91 kB / 0.7594 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.513e-05/0.7761, allocations: 35.98 kB / 0.7594 GB, free: 8.594 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005504/0.7766, allocations: 427 kB / 0.7598 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7767, allocations: 3.656 kB / 0.7598 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009689/0.7776, allocations: 291.3 kB / 0.7601 GB, free: 7.898 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.001491/0.7791, allocations: 0.6 MB / 0.7607 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001566/0.7807, allocations: 0.7523 MB / 0.7614 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.7807, allocations: 0 / 0.7614 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008308/0.7816, allocations: 0.4893 MB / 0.7619 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/0.7827, allocations: 270.4 kB / 0.7621 GB, free: 6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00398/0.7867, allocations: 2.056 MB / 0.7642 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007001/0.7874, allocations: 1.004 MB / 0.7651 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008293/0.7883, allocations: 250.1 kB / 0.7654 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002394/0.7885, allocations: 99.39 kB / 0.7655 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of SimCode: time 1.352e-06/0.7885, allocations: 4 kB / 0.7655 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of Templates: time 0.02367/0.8122, allocations: 13.26 MB / 0.7784 GB, free: 5.438 MB / 0.5919 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 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)