Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="IDEAS_dev_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.0012/0.0012, allocations: 99.16 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.001393/0.001393, allocations: 177.3 kB / 15.94 MB, free: 220 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.433/1.433, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.088/1.088, allocations: 135.2 MB / 426.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003304/0.0003306, allocations: 8 kB / 0.5069 GB, free: 5.129 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.1996, allocations: 82.32 MB / 0.5873 GB, free: 2.988 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.008287/0.208, allocations: 4.126 MB / 0.5913 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6317/0.8397, allocations: 127.9 MB / 0.7162 GB, free: 14.24 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001042/0.8408, allocations: 16.69 kB / 0.7162 GB, free: 14.24 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004382/0.8413, allocations: 87.95 kB / 0.7163 GB, free: 14.19 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002193/0.8435, allocations: 0.5571 MB / 0.7168 GB, free: 13.85 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002793/0.8463, allocations: 0.6717 MB / 0.7175 GB, free: 13.51 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002012/0.8483, allocations: 0.9757 MB / 0.7184 GB, free: 12.97 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001346/0.8497, allocations: 0.8133 MB / 0.7192 GB, free: 12.61 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009557/0.8506, allocations: 477.6 kB / 0.7197 GB, free: 12.39 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006851/0.8513, allocations: 459.4 kB / 0.7201 GB, free: 12.18 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.8514, allocations: 29.44 kB / 0.7201 GB, free: 12.18 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001106/0.8526, allocations: 312.5 kB / 0.7204 GB, free: 12.1 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003017/0.8529, allocations: 228.4 kB / 0.7206 GB, free: 11.99 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00029/0.8532, allocations: 255.8 kB / 0.7209 GB, free: 11.81 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002508/0.8557, allocations: 1.579 MB / 0.7224 GB, free: 11.41 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.8557, allocations: 4 kB / 0.7224 GB, free: 11.41 MB / 0.545 GB Notification: Performance of FrontEnd: time 5.951e-06/0.8557, allocations: 0.6562 kB / 0.7224 GB, free: 11.41 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.523e-05/0.8557, allocations: 3.938 kB / 0.7224 GB, free: 11.4 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.003216/0.859, allocations: 1.473 MB / 0.7239 GB, free: 10.42 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.859, allocations: 9.953 kB / 0.7239 GB, free: 10.42 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003361/0.8594, allocations: 215.9 kB / 0.7241 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.8604, allocations: 248.2 kB / 0.7243 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001523/0.862, allocations: 0.8593 MB / 0.7252 GB, free: 9.633 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.772e-05/0.8621, allocations: 104.3 kB / 0.7253 GB, free: 9.586 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002131/0.8623, allocations: 141.4 kB / 0.7254 GB, free: 9.539 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002987/0.8653, allocations: 1.409 MB / 0.7268 GB, free: 8.91 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.78e-05/0.8653, allocations: 0 / 0.7268 GB, free: 8.91 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001436/0.8655, allocations: 57.75 kB / 0.7268 GB, free: 8.867 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-05/0.8655, allocations: 38.97 kB / 0.7269 GB, free: 8.863 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003232/0.8688, allocations: 1.511 MB / 0.7283 GB, free: 8.461 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00698/0.8758, allocations: 3.805 MB / 0.7321 GB, free: 6.465 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001746/0.8775, allocations: 0.959 MB / 0.733 GB, free: 6.094 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001106/0.8777, allocations: 47.31 kB / 0.733 GB, free: 6.078 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001098/0.8788, allocations: 0.58 MB / 0.7336 GB, free: 5.832 MB / 0.545 GB Notification: Performance of pre-optimization done (n=104): time 2.404e-06/0.8788, allocations: 0 / 0.7336 GB, free: 5.832 MB / 0.545 GB Notification: Performance of matching and sorting (n=104): time 0.003826/0.8826, allocations: 1.489 MB / 0.7351 GB, free: 4.703 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/0.8827, allocations: 192.9 kB / 0.7352 GB, free: 4.473 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/0.8839, allocations: 0.7473 MB / 0.736 GB, free: 3.711 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.14e-05/0.884, allocations: 45.7 kB / 0.736 GB, free: 3.66 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004657/0.8844, allocations: 0.5699 MB / 0.7366 GB, free: 3.082 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003082/0.8847, allocations: 339 kB / 0.7369 GB, free: 2.746 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.737e-05/0.8848, allocations: 20 kB / 0.7369 GB, free: 2.727 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.885, allocations: 341.9 kB / 0.7372 GB, free: 2.387 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006192/0.8856, allocations: 345.8 kB / 0.7376 GB, free: 2.051 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007709/0.8864, allocations: 458.4 kB / 0.738 GB, free: 1.574 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007916/0.8872, allocations: 414.8 kB / 0.7384 GB, free: 1.172 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.8872, allocations: 0 / 0.7384 GB, free: 1.172 MB / 0.545 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002303/0.8895, allocations: 1.067 MB / 0.7395 GB, free: 96 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.8895, allocations: 4 kB / 0.7395 GB, free: 92 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.8896, allocations: 8.062 kB / 0.7395 GB, free: 84 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006031/0.8902, allocations: 80.72 kB / 0.7395 GB, free: 0 / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009503/0.8912, allocations: 223.7 kB / 0.7398 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002055/0.8932, allocations: 1.539 MB / 0.7413 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/0.8943, allocations: 117.8 kB / 0.7414 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.235e-05/0.8944, allocations: 47.95 kB / 0.7414 GB, free: 13.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: 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.0007684/0.8951, allocations: 313.6 kB / 0.7417 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001858/0.8953, allocations: 98.78 kB / 0.7418 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003166/0.8985, allocations: 1.408 MB / 0.7432 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/0.8985, allocations: 12 kB / 0.7432 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.8986, allocations: 3.984 kB / 0.7432 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.509e-05/0.8986, allocations: 11.92 kB / 0.7432 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004471/0.9031, allocations: 2.564 MB / 0.7457 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.9031, allocations: 0 / 0.7457 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008299/0.9039, allocations: 195.7 kB / 0.7459 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000572/0.9045, allocations: 84.77 kB / 0.746 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.831e-05/0.9046, allocations: 31.98 kB / 0.746 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002023/0.9066, allocations: 1.571 MB / 0.7475 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.9066, allocations: 0 / 0.7475 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002562/0.9092, allocations: 1.172 MB / 0.7487 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006864/0.9099, allocations: 355.2 kB / 0.749 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001636/0.9101, allocations: 27.98 kB / 0.7491 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007714/0.9109, allocations: 67.94 kB / 0.7491 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000172/0.9111, allocations: 80.84 kB / 0.7492 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.388e-05/0.9111, allocations: 47.97 kB / 0.7492 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008925/0.912, allocations: 0.5615 MB / 0.7498 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.503e-06/0.9121, allocations: 0 / 0.7498 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001355/0.9134, allocations: 402.7 kB / 0.7502 GB, free: 4.715 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.004064/0.9175, allocations: 2.22 MB / 0.7523 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002167/0.9197, allocations: 0.9975 MB / 0.7533 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.9197, allocations: 7.984 kB / 0.7533 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001088/0.9208, allocations: 0.6055 MB / 0.7539 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001514/0.9223, allocations: 265 kB / 0.7542 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01471/0.937, allocations: 6.985 MB / 0.761 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008901/0.938, allocations: 1.193 MB / 0.7622 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001266/0.9393, allocations: 296.3 kB / 0.7624 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008339/0.9401, allocations: 0.5383 MB / 0.763 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of SimCode: time 1.303e-06/0.9401, allocations: 0 / 0.763 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05152/0.9916, allocations: 26.04 MB / 0.7884 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002569/0.992, allocations: 270.1 kB / 0.7887 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.872/3.864, allocations: 0 / 0.7887 GB, free: 13.5 MB / 0.6075 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) Environment - environmentSimulation: