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.0009761/0.0009763, allocations: 91.38 kB / 15.06 MB, free: 1.098 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.001178/0.001178, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 223.3 MB / 240 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.002/1.002, allocations: 135.3 MB / 426.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003536/0.0003536, allocations: 9.75 kB / 0.507 GB, free: 5.156 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.2029, allocations: 82.3 MB / 0.5874 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004711/0.2076, allocations: 3.491 MB / 0.5908 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6044/0.8121, allocations: 136.7 MB / 0.7242 GB, free: 7.809 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009471/0.8131, allocations: 14 kB / 0.7242 GB, free: 7.805 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006328/0.8138, allocations: 127.6 kB / 0.7244 GB, free: 7.734 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001682/0.8154, allocations: 382.9 kB / 0.7247 GB, free: 7.523 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002671/0.8181, allocations: 0.5993 MB / 0.7253 GB, free: 7.23 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001713/0.8198, allocations: 1.006 MB / 0.7263 GB, free: 6.73 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009495/0.8208, allocations: 467.2 kB / 0.7267 GB, free: 6.551 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000676/0.8215, allocations: 295.3 kB / 0.727 GB, free: 6.426 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000487/0.822, allocations: 305.9 kB / 0.7273 GB, free: 6.285 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.993e-05/0.8221, allocations: 23.41 kB / 0.7273 GB, free: 6.285 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001103/0.8232, allocations: 333.6 kB / 0.7276 GB, free: 6.195 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002399/0.8234, allocations: 155.2 kB / 0.7278 GB, free: 6.125 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002228/0.8237, allocations: 176.5 kB / 0.728 GB, free: 6 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001792/0.8255, allocations: 1.075 MB / 0.729 GB, free: 5.715 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.8255, allocations: 0 / 0.729 GB, free: 5.715 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.705e-06/0.8255, allocations: 5.375 kB / 0.729 GB, free: 5.711 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.709e-05/0.8255, allocations: 0 / 0.729 GB, free: 5.711 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002321/0.8279, allocations: 1.122 MB / 0.7301 GB, free: 4.914 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.8279, allocations: 9.781 kB / 0.7301 GB, free: 4.914 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008796/0.8288, allocations: 184.3 kB / 0.7303 GB, free: 4.855 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/0.8299, allocations: 0.6749 MB / 0.731 GB, free: 4.418 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.493e-05/0.83, allocations: 56.66 kB / 0.731 GB, free: 4.391 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.8301, allocations: 78.31 kB / 0.7311 GB, free: 4.363 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001633/0.8317, allocations: 0.8595 MB / 0.7319 GB, free: 3.957 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.8317, allocations: 11.92 kB / 0.7319 GB, free: 3.945 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.235e-05/0.8318, allocations: 35.88 kB / 0.732 GB, free: 3.918 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.8319, allocations: 19.19 kB / 0.732 GB, free: 3.918 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001771/0.8336, allocations: 1.056 MB / 0.733 GB, free: 3.68 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004139/0.8378, allocations: 2.419 MB / 0.7354 GB, free: 2.312 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001578/0.8394, allocations: 0.8031 MB / 0.7362 GB, free: 1.934 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005355/0.8399, allocations: 276.6 kB / 0.7364 GB, free: 1.82 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.865e-05/0.8401, allocations: 34.33 kB / 0.7365 GB, free: 1.801 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009046/0.841, allocations: 420.4 kB / 0.7369 GB, free: 1.527 MB / 0.545 GB Notification: Performance of pre-optimization done (n=70): time 2.364e-06/0.841, allocations: 0 / 0.7369 GB, free: 1.527 MB / 0.545 GB Notification: Performance of matching and sorting (n=70): time 0.003006/0.844, allocations: 1.081 MB / 0.7379 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001436/0.8441, allocations: 192.2 kB / 0.7381 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009303/0.8451, allocations: 0.5745 MB / 0.7387 GB, free: 376 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.419e-05/0.8452, allocations: 45.05 kB / 0.7387 GB, free: 328 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003691/0.8456, allocations: 359.7 kB / 0.7391 GB, free: 4 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002616/0.8458, allocations: 229.7 kB / 0.7393 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.929e-05/0.8459, allocations: 17.09 kB / 0.7393 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002066/0.8461, allocations: 373.7 kB / 0.7396 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000441/0.8465, allocations: 235.9 kB / 0.7399 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005738/0.8471, allocations: 331 kB / 0.7402 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005205/0.8477, allocations: 280.2 kB / 0.7405 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.8477, allocations: 0 / 0.7405 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001805/0.8495, allocations: 0.7695 MB / 0.7412 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.789e-05/0.8495, allocations: 7 kB / 0.7412 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.8495, allocations: 0 / 0.7412 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005498/0.8501, allocations: 83.98 kB / 0.7413 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005711/0.8507, allocations: 140.7 kB / 0.7414 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00221/0.8529, allocations: 1.535 MB / 0.7429 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007096/0.8536, allocations: 91.89 kB / 0.743 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.353e-05/0.8537, allocations: 36.34 kB / 0.743 GB, free: 12.94 MB / 0.5606 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 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005564/0.8543, allocations: 249.6 kB / 0.7433 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.8544, allocations: 78.67 kB / 0.7434 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002136/0.8565, allocations: 0.9757 MB / 0.7443 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.8565, allocations: 8 kB / 0.7443 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.8566, allocations: 0 / 0.7443 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.8566, allocations: 3.984 kB / 0.7443 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003153/0.8597, allocations: 1.84 MB / 0.7461 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.8597, allocations: 0 / 0.7461 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005293/0.8603, allocations: 147.8 kB / 0.7463 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004543/0.8607, allocations: 88.72 kB / 0.7463 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.957e-05/0.8608, allocations: 19.98 kB / 0.7464 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00183/0.8626, allocations: 1.548 MB / 0.7479 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.8627, allocations: 0 / 0.7479 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001817/0.8645, allocations: 0.9023 MB / 0.7488 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004382/0.8649, allocations: 267.8 kB / 0.749 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.849e-05/0.865, allocations: 15.98 kB / 0.749 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000512/0.8656, allocations: 63.95 kB / 0.7491 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/0.8657, allocations: 60.97 kB / 0.7491 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-05/0.8658, allocations: 35.98 kB / 0.7492 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006261/0.8664, allocations: 419.1 kB / 0.7496 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8664, allocations: 0 / 0.7496 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001094/0.8675, allocations: 283.3 kB / 0.7499 GB, free: 5.809 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001522/0.869, allocations: 0.5886 MB / 0.7504 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00159/0.8706, allocations: 0.7503 MB / 0.7512 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.8707, allocations: 3.938 kB / 0.7512 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008065/0.8715, allocations: 489 kB / 0.7516 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.8727, allocations: 256.8 kB / 0.7519 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00417/0.8769, allocations: 2.002 MB / 0.7538 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009453/0.8778, allocations: 0.9877 MB / 0.7548 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009069/0.8788, allocations: 254 kB / 0.755 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002332/0.879, allocations: 95.39 kB / 0.7551 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of SimCode: time 1.382e-06/0.879, allocations: 0 / 0.7551 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of Templates: time 0.02624/0.9052, allocations: 12.65 MB / 0.7675 GB, free: 4.047 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 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)