Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0009677/0.0009676, allocations: 177.3 kB / 15.94 MB, free: 228 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.62/1.62, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.086/1.086, allocations: 135.2 MB / 426.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004708/0.0004709, allocations: 8.781 kB / 0.5068 GB, free: 5.25 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2393, allocations: 82.31 MB / 0.5872 GB, free: 3.117 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.006236/0.2456, allocations: 4.126 MB / 0.5912 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5547/0.8003, allocations: 127.9 MB / 0.7161 GB, free: 14.39 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001164/0.8015, allocations: 16.25 kB / 0.7161 GB, free: 14.39 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004637/0.802, allocations: 88.97 kB / 0.7162 GB, free: 14.34 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002097/0.8041, allocations: 0.5506 MB / 0.7167 GB, free: 14 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002288/0.8064, allocations: 0.678 MB / 0.7174 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002297/0.8087, allocations: 0.9733 MB / 0.7183 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001346/0.8101, allocations: 0.8212 MB / 0.7191 GB, free: 12.77 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001019/0.8111, allocations: 473.2 kB / 0.7196 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006937/0.8118, allocations: 460.8 kB / 0.72 GB, free: 12.33 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.8119, allocations: 30.75 kB / 0.7201 GB, free: 12.33 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001084/0.813, allocations: 312 kB / 0.7204 GB, free: 12.25 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003212/0.8133, allocations: 227 kB / 0.7206 GB, free: 12.14 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003325/0.8137, allocations: 251.9 kB / 0.7208 GB, free: 11.96 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002474/0.8162, allocations: 1.585 MB / 0.7224 GB, free: 11.56 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.8162, allocations: 1.406 kB / 0.7224 GB, free: 11.56 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8162, allocations: 0 / 0.7224 GB, free: 11.56 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.202e-05/0.8162, allocations: 0 / 0.7224 GB, free: 11.56 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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.00321/0.8195, allocations: 1.477 MB / 0.7238 GB, free: 10.57 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.8195, allocations: 12.75 kB / 0.7238 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/0.8205, allocations: 241 kB / 0.724 GB, free: 10.49 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001537/0.8221, allocations: 0.8606 MB / 0.7249 GB, free: 9.922 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.8222, allocations: 108.3 kB / 0.725 GB, free: 9.871 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001886/0.8224, allocations: 137.9 kB / 0.7251 GB, free: 9.828 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00284/0.8252, allocations: 1.408 MB / 0.7265 GB, free: 9.199 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.77e-05/0.8253, allocations: 0.7969 kB / 0.7265 GB, free: 9.199 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001369/0.8254, allocations: 57.09 kB / 0.7266 GB, free: 9.156 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.721e-05/0.8255, allocations: 35.06 kB / 0.7266 GB, free: 9.156 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002996/0.8285, allocations: 1.519 MB / 0.7281 GB, free: 8.746 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00707/0.8356, allocations: 3.8 MB / 0.7318 GB, free: 6.75 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001563/0.8372, allocations: 0.9645 MB / 0.7327 GB, free: 6.379 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001093/0.8373, allocations: 43.44 kB / 0.7328 GB, free: 6.363 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001023/0.8383, allocations: 0.577 MB / 0.7333 GB, free: 6.121 MB / 0.545 GB Notification: Performance of pre-optimization done (n=104): time 3.126e-06/0.8383, allocations: 3.938 kB / 0.7333 GB, free: 6.117 MB / 0.545 GB Notification: Performance of matching and sorting (n=104): time 0.003613/0.8419, allocations: 1.488 MB / 0.7348 GB, free: 5.051 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001716/0.8421, allocations: 192.9 kB / 0.735 GB, free: 4.82 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001262/0.8434, allocations: 0.7551 MB / 0.7357 GB, free: 4.051 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001176/0.8435, allocations: 41.7 kB / 0.7357 GB, free: 4.004 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006226/0.8442, allocations: 0.5621 MB / 0.7363 GB, free: 3.434 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003424/0.8445, allocations: 347 kB / 0.7366 GB, free: 3.09 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.135e-05/0.8446, allocations: 16 kB / 0.7366 GB, free: 3.074 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.8448, allocations: 341.9 kB / 0.737 GB, free: 2.734 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006514/0.8454, allocations: 345.8 kB / 0.7373 GB, free: 2.398 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007334/0.8462, allocations: 454.5 kB / 0.7377 GB, free: 1.926 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007408/0.8469, allocations: 410.8 kB / 0.7381 GB, free: 1.527 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.8469, allocations: 0 / 0.7381 GB, free: 1.527 MB / 0.545 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002354/0.8493, allocations: 1.067 MB / 0.7392 GB, free: 460 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.8493, allocations: 4 kB / 0.7392 GB, free: 456 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.8493, allocations: 8.062 kB / 0.7392 GB, free: 448 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000593/0.8499, allocations: 80.72 kB / 0.7392 GB, free: 364 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009288/0.8509, allocations: 220.3 kB / 0.7395 GB, free: 144 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002082/0.853, allocations: 1.537 MB / 0.741 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009457/0.8539, allocations: 128.4 kB / 0.7411 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.876e-05/0.854, allocations: 43.97 kB / 0.7411 GB, free: 14.3 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: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 116 * 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.0007876/0.8548, allocations: 307.6 kB / 0.7414 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001586/0.855, allocations: 106.8 kB / 0.7415 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003008/0.858, allocations: 1.408 MB / 0.7429 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/0.858, allocations: 12 kB / 0.7429 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.858, allocations: 7.922 kB / 0.7429 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.858, allocations: 3.984 kB / 0.7429 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00425/0.8623, allocations: 2.572 MB / 0.7454 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.8623, allocations: 0 / 0.7454 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007851/0.8631, allocations: 195.7 kB / 0.7456 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004958/0.8636, allocations: 84.78 kB / 0.7457 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.267e-05/0.8637, allocations: 23.98 kB / 0.7457 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001836/0.8655, allocations: 1.579 MB / 0.7473 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.8655, allocations: 3.938 kB / 0.7473 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002301/0.8679, allocations: 1.171 MB / 0.7484 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005768/0.8684, allocations: 351.2 kB / 0.7487 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001339/0.8686, allocations: 24 kB / 0.7488 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007068/0.8693, allocations: 73.16 kB / 0.7488 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/0.8695, allocations: 76.84 kB / 0.7489 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.731e-05/0.8695, allocations: 47.97 kB / 0.749 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008109/0.8704, allocations: 0.5615 MB / 0.7495 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8704, allocations: 0 / 0.7495 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001153/0.8715, allocations: 406.6 kB / 0.7499 GB, free: 5.066 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 (115): * Single equations (assignments): 112 * 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.001373/0.8729, allocations: 0.5877 MB / 0.7505 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00201/0.8749, allocations: 1.005 MB / 0.7514 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.8749, allocations: 0 / 0.7514 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009872/0.8759, allocations: 0.6135 MB / 0.752 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/0.8771, allocations: 258.3 kB / 0.7523 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004924/0.882, allocations: 2.911 MB / 0.7551 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000737/0.8828, allocations: 1.197 MB / 0.7563 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001052/0.8839, allocations: 300.3 kB / 0.7566 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003235/0.8842, allocations: 139.3 kB / 0.7567 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of SimCode: time 1.082e-06/0.8842, allocations: 0 / 0.7567 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of Templates: time 0.02852/0.9127, allocations: 16.46 MB / 0.7728 GB, free: 13.87 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) Environment - environmentSimulation: