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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007351/0.000735, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.0007912/0.0007913, allocations: 168.7 kB / 15.95 MB, free: 204 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.327/1.327, allocations: 223.3 MB / 240 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7516/0.7516, allocations: 132.3 MB / 423.4 MB, free: 2.051 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003456/0.0003459, allocations: 11.98 kB / 0.5035 GB, free: 4.137 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.386/0.3864, allocations: 81.57 MB / 0.5831 GB, free: 3.973 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.00462/0.3911, allocations: 4.232 MB / 0.5873 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1435/0.5346, allocations: 137.1 MB / 0.7212 GB, free: 2.844 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001008/0.5357, allocations: 19.88 kB / 0.7212 GB, free: 2.824 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005209/0.5362, allocations: 142.8 kB / 0.7213 GB, free: 2.684 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001382/0.5376, allocations: 484.4 kB / 0.7218 GB, free: 2.211 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001606/0.5392, allocations: 0.6796 MB / 0.7224 GB, free: 1.543 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001204/0.5404, allocations: 1.366 MB / 0.7238 GB, free: 176 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009915/0.5414, allocations: 0.8239 MB / 0.7246 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005305/0.542, allocations: 449.7 kB / 0.725 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004932/0.5425, allocations: 485.2 kB / 0.7255 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.021e-05/0.5426, allocations: 28 kB / 0.7255 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006343/0.5432, allocations: 347.6 kB / 0.7258 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002079/0.5434, allocations: 226.8 kB / 0.726 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000185/0.5436, allocations: 256.9 kB / 0.7263 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001261/0.5449, allocations: 1.582 MB / 0.7278 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.5449, allocations: 0 / 0.7278 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.482e-06/0.5449, allocations: 3.938 kB / 0.7278 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.436e-05/0.5449, allocations: 0 / 0.7278 GB, free: 11.97 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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.002332/0.5473, allocations: 1.475 MB / 0.7293 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.5473, allocations: 12.03 kB / 0.7293 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002163/0.5475, allocations: 211.1 kB / 0.7295 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008514/0.5484, allocations: 241.9 kB / 0.7297 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.5495, allocations: 0.8562 MB / 0.7306 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.517e-05/0.5495, allocations: 106.9 kB / 0.7307 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001466/0.5497, allocations: 140 kB / 0.7308 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002134/0.5518, allocations: 1.428 MB / 0.7322 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/0.5519, allocations: 0 / 0.7322 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/0.552, allocations: 60 kB / 0.7322 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.797e-05/0.552, allocations: 36 kB / 0.7323 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00224/0.5543, allocations: 1.517 MB / 0.7338 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005176/0.5594, allocations: 3.802 MB / 0.7375 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001478/0.5609, allocations: 0.9475 MB / 0.7384 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006554/0.5616, allocations: 403.6 kB / 0.7388 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001309/0.5618, allocations: 45.08 kB / 0.7388 GB, free: 480 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009973/0.5628, allocations: 0.5748 MB / 0.7394 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=104): time 2.765e-06/0.5628, allocations: 3.938 kB / 0.7394 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of matching and sorting (n=104): time 0.003226/0.566, allocations: 1.489 MB / 0.7408 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.5661, allocations: 196.9 kB / 0.741 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008821/0.567, allocations: 0.7473 MB / 0.7418 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.603e-05/0.5671, allocations: 41.7 kB / 0.7418 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003734/0.5675, allocations: 0.5699 MB / 0.7424 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002383/0.5677, allocations: 343 kB / 0.7427 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.166e-05/0.5678, allocations: 20 kB / 0.7427 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.5679, allocations: 341.9 kB / 0.743 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000593/0.5685, allocations: 341.8 kB / 0.7434 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006715/0.5692, allocations: 466.4 kB / 0.7438 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007066/0.5699, allocations: 414.9 kB / 0.7442 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.5699, allocations: 0 / 0.7442 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.001999/0.5719, allocations: 1.067 MB / 0.7452 GB, free: 9.734 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.5719, allocations: 4 kB / 0.7452 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.5719, allocations: 4 kB / 0.7452 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005253/0.5725, allocations: 80.84 kB / 0.7453 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008725/0.5734, allocations: 219.7 kB / 0.7455 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001843/0.5752, allocations: 1.532 MB / 0.747 GB, free: 7.762 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006595/0.5759, allocations: 115 kB / 0.7471 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.767e-05/0.576, allocations: 47.95 kB / 0.7472 GB, free: 7.602 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: 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.0004592/0.5764, allocations: 307.9 kB / 0.7475 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.5766, allocations: 102.8 kB / 0.7476 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002908/0.5795, allocations: 1.415 MB / 0.749 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.5795, allocations: 8 kB / 0.749 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.5795, allocations: 7.953 kB / 0.749 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/0.5796, allocations: 7.969 kB / 0.749 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003794/0.5833, allocations: 2.571 MB / 0.7515 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.5834, allocations: 0 / 0.7515 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007483/0.5841, allocations: 187.8 kB / 0.7517 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004482/0.5846, allocations: 88.77 kB / 0.7518 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.949e-05/0.5847, allocations: 27.98 kB / 0.7518 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001645/0.5863, allocations: 1.567 MB / 0.7533 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.5863, allocations: 3.938 kB / 0.7533 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002041/0.5884, allocations: 1.171 MB / 0.7545 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004599/0.5888, allocations: 347.2 kB / 0.7548 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001492/0.589, allocations: 27.95 kB / 0.7548 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006485/0.5897, allocations: 67.95 kB / 0.7549 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001454/0.5898, allocations: 80.88 kB / 0.755 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.583e-05/0.5899, allocations: 35.98 kB / 0.755 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000735/0.5906, allocations: 0.5731 MB / 0.7556 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5906, allocations: 4 kB / 0.7556 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009883/0.5916, allocations: 394.7 kB / 0.7559 GB, free: 14.38 MB / 0.5919 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.003548/0.5952, allocations: 2.22 MB / 0.7581 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001842/0.5971, allocations: 0.9952 MB / 0.7591 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.5971, allocations: 0 / 0.7591 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009896/0.5981, allocations: 0.6213 MB / 0.7597 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/0.5993, allocations: 272.5 kB / 0.7599 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01171/0.611, allocations: 6.586 MB / 0.7664 GB, free: 3.664 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007144/0.6118, allocations: 1.159 MB / 0.7675 GB, free: 2.477 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000953/0.6127, allocations: 300.2 kB / 0.7678 GB, free: 2.18 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000739/0.6135, allocations: 0.5344 MB / 0.7683 GB, free: 1.645 MB / 0.5919 GB Notification: Performance of SimCode: time 9.02e-07/0.6135, allocations: 0 / 0.7683 GB, free: 1.645 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04652/0.66, allocations: 26.08 MB / 0.7938 GB, free: 7.973 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001948/0.6602, allocations: 261.9 kB / 0.794 GB, free: 7.621 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.31/2.97, allocations: 0 / 0.794 GB, free: 7.621 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) Environment - environmentSimulation: