Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.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: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",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.001168/0.001168, allocations: 99.55 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.001304/0.001304, 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.516/1.516, allocations: 223.2 MB / 239.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.092/1.092, allocations: 135.2 MB / 426.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005049/0.0005049, allocations: 11.98 kB / 0.5069 GB, free: 5.117 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1775, allocations: 82.32 MB / 0.5873 GB, free: 2.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.004021/0.1815, allocations: 3.464 MB / 0.5907 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4682/0.6498, allocations: 127.4 MB / 0.7151 GB, free: 15.13 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008153/0.6506, allocations: 17.28 kB / 0.7151 GB, free: 15.12 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004444/0.6511, allocations: 69.98 kB / 0.7152 GB, free: 15.09 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001789/0.6529, allocations: 457.8 kB / 0.7156 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002134/0.655, allocations: 0.6105 MB / 0.7162 GB, free: 14.51 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001761/0.6568, allocations: 0.742 MB / 0.7169 GB, free: 14.11 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00093/0.6578, allocations: 458.4 kB / 0.7174 GB, free: 13.93 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008161/0.6586, allocations: 308.2 kB / 0.7177 GB, free: 13.8 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000526/0.6591, allocations: 292.9 kB / 0.718 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.301e-05/0.6592, allocations: 22.12 kB / 0.718 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001235/0.6605, allocations: 308.5 kB / 0.7183 GB, free: 13.58 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002885/0.6608, allocations: 156.8 kB / 0.7184 GB, free: 13.51 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002396/0.661, allocations: 179 kB / 0.7186 GB, free: 13.38 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002215/0.6632, allocations: 1.068 MB / 0.7196 GB, free: 13.11 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.6633, allocations: 0 / 0.7196 GB, free: 13.11 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.775e-06/0.6633, allocations: 4.969 kB / 0.7196 GB, free: 13.1 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.139e-05/0.6633, allocations: 0 / 0.7196 GB, free: 13.1 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.002973/0.6663, allocations: 1.134 MB / 0.7207 GB, free: 12.3 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.497e-05/0.6664, allocations: 9.844 kB / 0.7208 GB, free: 12.3 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002701/0.6666, allocations: 129.3 kB / 0.7209 GB, free: 12.21 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001095/0.6677, allocations: 192.1 kB / 0.7211 GB, free: 12.15 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001486/0.6692, allocations: 0.6776 MB / 0.7217 GB, free: 11.71 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.013e-05/0.6693, allocations: 62.53 kB / 0.7218 GB, free: 11.68 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.6695, allocations: 76.69 kB / 0.7219 GB, free: 11.66 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001998/0.6715, allocations: 0.8561 MB / 0.7227 GB, free: 11.25 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/0.6715, allocations: 2.094 kB / 0.7227 GB, free: 11.25 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.79e-05/0.6716, allocations: 35.47 kB / 0.7227 GB, free: 11.22 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.371e-05/0.6716, allocations: 20.5 kB / 0.7227 GB, free: 11.22 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002313/0.674, allocations: 1.071 MB / 0.7238 GB, free: 10.97 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005305/0.6793, allocations: 2.399 MB / 0.7261 GB, free: 9.629 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001534/0.6809, allocations: 0.8007 MB / 0.7269 GB, free: 9.262 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.498e-05/0.681, allocations: 28.78 kB / 0.7269 GB, free: 9.254 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000968/0.6819, allocations: 434.3 kB / 0.7274 GB, free: 9.062 MB / 0.545 GB Notification: Performance of pre-optimization done (n=72): time 2.195e-06/0.6819, allocations: 0 / 0.7274 GB, free: 9.062 MB / 0.545 GB Notification: Performance of matching and sorting (n=72): time 0.003224/0.6852, allocations: 1.075 MB / 0.7284 GB, free: 8.617 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001267/0.6853, allocations: 193.3 kB / 0.7286 GB, free: 8.395 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009206/0.6863, allocations: 0.5929 MB / 0.7292 GB, free: 8.121 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.631e-05/0.6864, allocations: 36.33 kB / 0.7292 GB, free: 8.082 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003314/0.6867, allocations: 373.3 kB / 0.7296 GB, free: 7.789 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002714/0.687, allocations: 244.2 kB / 0.7298 GB, free: 7.598 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-05/0.687, allocations: 15.5 kB / 0.7298 GB, free: 7.586 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.6872, allocations: 374 kB / 0.7302 GB, free: 7.246 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004922/0.6877, allocations: 220.1 kB / 0.7304 GB, free: 7.168 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005172/0.6882, allocations: 315 kB / 0.7307 GB, free: 7.004 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004844/0.6887, allocations: 260.7 kB / 0.7309 GB, free: 6.902 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-06/0.6888, allocations: 0 / 0.7309 GB, free: 6.902 MB / 0.545 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001823/0.6906, allocations: 0.7242 MB / 0.7316 GB, free: 6.613 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.113e-05/0.6906, allocations: 9 kB / 0.7316 GB, free: 6.609 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.6907, allocations: 3.75 kB / 0.7316 GB, free: 6.609 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006976/0.6914, allocations: 86.66 kB / 0.7317 GB, free: 6.586 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006516/0.692, allocations: 139 kB / 0.7319 GB, free: 6.574 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002455/0.6945, allocations: 1.529 MB / 0.7334 GB, free: 5.145 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008455/0.6953, allocations: 77.5 kB / 0.7334 GB, free: 5.109 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.371e-05/0.6954, allocations: 34.78 kB / 0.7335 GB, free: 5.098 MB / 0.545 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 (75): * Single equations (assignments): 74 * 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.0005747/0.696, allocations: 246 kB / 0.7337 GB, free: 4.91 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.6962, allocations: 82.58 kB / 0.7338 GB, free: 4.863 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002464/0.6986, allocations: 1.017 MB / 0.7348 GB, free: 4.371 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.6987, allocations: 8 kB / 0.7348 GB, free: 4.363 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.6987, allocations: 0 / 0.7348 GB, free: 4.363 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.635e-05/0.6987, allocations: 9.297 kB / 0.7348 GB, free: 4.359 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003755/0.7025, allocations: 1.864 MB / 0.7366 GB, free: 2.781 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.7025, allocations: 3.953 kB / 0.7366 GB, free: 2.777 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006592/0.7032, allocations: 146.8 kB / 0.7368 GB, free: 2.652 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005625/0.7037, allocations: 82.75 kB / 0.7368 GB, free: 2.59 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.571e-05/0.7038, allocations: 25.3 kB / 0.7369 GB, free: 2.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001989/0.7058, allocations: 1.553 MB / 0.7384 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.7059, allocations: 0 / 0.7384 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002101/0.708, allocations: 0.9216 MB / 0.7393 GB, free: 20 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000664/0.7086, allocations: 271.8 kB / 0.7395 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002271/0.7089, allocations: 16 kB / 0.7395 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006981/0.7096, allocations: 67.94 kB / 0.7396 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001596/0.7098, allocations: 60.86 kB / 0.7397 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.166e-05/0.7098, allocations: 35.97 kB / 0.7397 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006044/0.7105, allocations: 423 kB / 0.7401 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.11e-07/0.7105, allocations: 8 kB / 0.7401 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00109/0.7116, allocations: 283.2 kB / 0.7404 GB, free: 14.87 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 (86): * Single equations (assignments): 83 * 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.003747/0.7153, allocations: 1.942 MB / 0.7423 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001782/0.7171, allocations: 0.7269 MB / 0.743 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.7172, allocations: 192 / 0.743 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009704/0.7182, allocations: 496.8 kB / 0.7435 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001433/0.7196, allocations: 245.9 kB / 0.7437 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01381/0.7334, allocations: 5.06 MB / 0.7486 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000732/0.7342, allocations: 1.015 MB / 0.7496 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001164/0.7354, allocations: 254.1 kB / 0.7499 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005203/0.7359, allocations: 347.3 kB / 0.7502 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of SimCode: time 1.192e-06/0.7359, allocations: 4 kB / 0.7502 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04572/0.7817, allocations: 19.79 MB / 0.7695 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002766/0.782, allocations: 275.5 kB / 0.7698 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.308/3.09, allocations: 3.938 kB / 0.7698 GB, free: 1.137 MB / 0.5762 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) Environment - environmentSimulation: