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.0009394/0.0009395, allocations: 99.39 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.0009505/0.0009505, 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.165/1.165, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6469/0.6469, allocations: 132.2 MB / 423.2 MB, free: 2.176 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002577/0.0002577, allocations: 12.48 kB / 0.5033 GB, free: 4.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2969, allocations: 81.57 MB / 0.583 GB, free: 4.262 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.003878/0.3008, allocations: 4.133 MB / 0.587 GB, free: 1.324 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1216/0.4225, allocations: 127.9 MB / 0.7119 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007191/0.4232, allocations: 19.88 kB / 0.7119 GB, free: 12.41 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003139/0.4235, allocations: 87.19 kB / 0.712 GB, free: 12.32 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001196/0.4248, allocations: 0.55 MB / 0.7125 GB, free: 11.78 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001291/0.4261, allocations: 0.6862 MB / 0.7132 GB, free: 11.1 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008713/0.4269, allocations: 0.978 MB / 0.7141 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007836/0.4277, allocations: 0.8161 MB / 0.7149 GB, free: 9.285 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004177/0.4282, allocations: 473.8 kB / 0.7154 GB, free: 8.82 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004026/0.4286, allocations: 461.4 kB / 0.7158 GB, free: 8.367 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.821e-05/0.4286, allocations: 28 kB / 0.7158 GB, free: 8.34 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004359/0.4291, allocations: 311.6 kB / 0.7161 GB, free: 8.035 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001812/0.4293, allocations: 234.9 kB / 0.7164 GB, free: 7.805 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001583/0.4294, allocations: 252.9 kB / 0.7166 GB, free: 7.551 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.4305, allocations: 1.574 MB / 0.7181 GB, free: 5.973 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.4306, allocations: 4 kB / 0.7181 GB, free: 5.969 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.062e-06/0.4306, allocations: 0 / 0.7181 GB, free: 5.969 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.4306, allocations: 0 / 0.7181 GB, free: 5.969 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.002026/0.4326, allocations: 1.479 MB / 0.7196 GB, free: 4.438 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.937e-05/0.4326, allocations: 16.03 kB / 0.7196 GB, free: 4.422 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001859/0.4328, allocations: 211.1 kB / 0.7198 GB, free: 4.207 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007691/0.4336, allocations: 245.9 kB / 0.72 GB, free: 3.965 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009787/0.4346, allocations: 0.8484 MB / 0.7209 GB, free: 3.07 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.718e-05/0.4347, allocations: 106.9 kB / 0.721 GB, free: 2.965 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/0.4348, allocations: 136 kB / 0.7211 GB, free: 2.832 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001776/0.4366, allocations: 1.412 MB / 0.7225 GB, free: 1.363 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.4366, allocations: 0 / 0.7225 GB, free: 1.363 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/0.4367, allocations: 64 kB / 0.7225 GB, free: 1.301 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.231e-05/0.4368, allocations: 32 kB / 0.7226 GB, free: 1.27 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001981/0.4387, allocations: 1.513 MB / 0.724 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004666/0.4434, allocations: 3.805 MB / 0.7278 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001321/0.4447, allocations: 0.963 MB / 0.7287 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.622e-05/0.4448, allocations: 48.98 kB / 0.7288 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007955/0.4456, allocations: 0.5748 MB / 0.7293 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=104): time 1.884e-06/0.4456, allocations: 0 / 0.7293 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=104): time 0.002899/0.4486, allocations: 1.486 MB / 0.7308 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.743e-05/0.4486, allocations: 196.9 kB / 0.731 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007267/0.4494, allocations: 0.7473 MB / 0.7317 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.518e-05/0.4494, allocations: 45.7 kB / 0.7317 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003137/0.4498, allocations: 0.5621 MB / 0.7323 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002259/0.45, allocations: 342.9 kB / 0.7326 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.425e-05/0.45, allocations: 23.94 kB / 0.7326 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.4502, allocations: 341.9 kB / 0.733 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005334/0.4507, allocations: 341.8 kB / 0.7333 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000609/0.4513, allocations: 462.4 kB / 0.7337 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006113/0.4519, allocations: 406.9 kB / 0.7341 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.4519, allocations: 0 / 0.7341 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.001853/0.4538, allocations: 1.071 MB / 0.7352 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.4538, allocations: 4 kB / 0.7352 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.4538, allocations: 8.062 kB / 0.7352 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005078/0.4543, allocations: 80.77 kB / 0.7352 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008037/0.4552, allocations: 215.7 kB / 0.7354 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.243/0.6982, allocations: 1.539 MB / 0.7369 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000836/0.699, allocations: 123 kB / 0.7371 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.858e-05/0.6991, allocations: 43.97 kB / 0.7371 GB, free: 2.004 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.0003927/0.6995, allocations: 309.6 kB / 0.7374 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.6997, allocations: 98.78 kB / 0.7375 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002621/0.7023, allocations: 1.419 MB / 0.7389 GB, free: 160 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.7023, allocations: 12 kB / 0.7389 GB, free: 148 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.7023, allocations: 3.953 kB / 0.7389 GB, free: 144 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.7023, allocations: 3.984 kB / 0.7389 GB, free: 140 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003429/0.7058, allocations: 2.574 MB / 0.7414 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.7058, allocations: 0 / 0.7414 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007321/0.7065, allocations: 199.8 kB / 0.7416 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004519/0.707, allocations: 84.72 kB / 0.7417 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.612e-05/0.707, allocations: 31.97 kB / 0.7417 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001546/0.7086, allocations: 1.568 MB / 0.7432 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.7086, allocations: 0 / 0.7432 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001866/0.7105, allocations: 1.171 MB / 0.7444 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004056/0.7109, allocations: 355.2 kB / 0.7447 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.711, allocations: 23.98 kB / 0.7448 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006434/0.7117, allocations: 71.91 kB / 0.7448 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.7118, allocations: 80.81 kB / 0.7449 GB, free: 9.754 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.24e-05/0.7119, allocations: 43.98 kB / 0.7449 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005972/0.7125, allocations: 0.5654 MB / 0.7455 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7125, allocations: 0 / 0.7455 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007916/0.7133, allocations: 402.7 kB / 0.7459 GB, free: 8.758 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 (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.003084/0.7164, allocations: 2.205 MB / 0.748 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00157/0.718, allocations: 0.9992 MB / 0.749 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.718, allocations: 0 / 0.749 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008915/0.7189, allocations: 0.621 MB / 0.7496 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009159/0.7198, allocations: 252.6 kB / 0.7499 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009981/0.7298, allocations: 6.995 MB / 0.7567 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006066/0.7304, allocations: 1.189 MB / 0.7578 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007636/0.7312, allocations: 304.3 kB / 0.7581 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006223/0.7318, allocations: 0.5305 MB / 0.7587 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of SimCode: time 2.71e-07/0.7318, allocations: 0 / 0.7587 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.878/5.61, allocations: 26.05 MB / 0.7841 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002241/5.61, allocations: 257 kB / 0.7843 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.269/7.88, allocations: 0 / 0.7843 GB, free: 1.625 MB / 0.6075 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: