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.007286/0.007286, allocations: 104.1 kB / 15.74 MB, free: 6.02 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.001807/0.001807, allocations: 192.5 kB / 16.68 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7857/0.7857, allocations: 135.1 MB / 425.7 MB, free: 4.066 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 60.5 kB / 0.5851 GB, free: 21.83 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1349, allocations: 80.92 MB / 0.6641 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.00824/0.1432, allocations: 4.916 MB / 0.6689 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4696/0.6129, allocations: 150.9 MB / 0.8163 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006496/0.6135, allocations: 24.84 kB / 0.8163 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005174/0.6141, allocations: 196 kB / 0.8165 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001478/0.6156, allocations: 0.5952 MB / 0.8171 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00172/0.6173, allocations: 0.8853 MB / 0.818 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001174/0.6185, allocations: 1.601 MB / 0.8195 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001085/0.6196, allocations: 1.052 MB / 0.8205 GB, free: 6.477 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000706/0.6203, allocations: 0.6971 MB / 0.8212 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006796/0.621, allocations: 0.7365 MB / 0.8219 GB, free: 5.523 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001659/0.6212, allocations: 175.3 kB / 0.8221 GB, free: 5.523 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007875/0.622, allocations: 0.5304 MB / 0.8226 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003163/0.6223, allocations: 415.6 kB / 0.823 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005596/0.6229, allocations: 0.7964 MB / 0.8238 GB, free: 4.387 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001981/0.6248, allocations: 2.181 MB / 0.8259 GB, free: 2.758 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.6249, allocations: 0 / 0.8259 GB, free: 2.758 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.356e-06/0.6249, allocations: 0 / 0.8259 GB, free: 2.758 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.866e-05/0.6249, allocations: 3.938 kB / 0.8259 GB, free: 2.754 MB / 0.5919 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.002846/0.6277, allocations: 1.829 MB / 0.8277 GB, free: 1.328 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.6278, allocations: 10.09 kB / 0.8277 GB, free: 1.328 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002298/0.628, allocations: 213.5 kB / 0.8279 GB, free: 1.16 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000979/0.629, allocations: 248.2 kB / 0.8282 GB, free: 1.035 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001245/0.6303, allocations: 0.9039 MB / 0.8291 GB, free: 308 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.89e-05/0.6304, allocations: 108.6 kB / 0.8292 GB, free: 256 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/0.6305, allocations: 136.8 kB / 0.8293 GB, free: 212 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002193/0.6327, allocations: 1.43 MB / 0.8307 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.796e-05/0.6328, allocations: 0 / 0.8307 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001214/0.6329, allocations: 64.59 kB / 0.8308 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.289e-05/0.6329, allocations: 39.27 kB / 0.8308 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002316/0.6352, allocations: 1.506 MB / 0.8323 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005448/0.6407, allocations: 3.745 MB / 0.8359 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001556/0.6423, allocations: 0.9627 MB / 0.8369 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006296/0.6429, allocations: 395.6 kB / 0.8372 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.845e-05/0.643, allocations: 46.25 kB / 0.8373 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009747/0.644, allocations: 0.58 MB / 0.8378 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=104): time 3.907e-06/0.644, allocations: 0 / 0.8378 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of matching and sorting (n=104): time 0.00353/0.6476, allocations: 1.48 MB / 0.8393 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.25e-05/0.6477, allocations: 194.8 kB / 0.8395 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00087/0.6485, allocations: 0.7648 MB / 0.8402 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.862e-05/0.6486, allocations: 47.08 kB / 0.8403 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003882/0.649, allocations: 0.5682 MB / 0.8408 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002519/0.6493, allocations: 356.8 kB / 0.8412 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002856/0.6496, allocations: 205.7 kB / 0.8414 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.6497, allocations: 355.9 kB / 0.8417 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006151/0.6503, allocations: 337.3 kB / 0.842 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007237/0.6511, allocations: 463.4 kB / 0.8425 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001427/0.6525, allocations: 0.8104 MB / 0.8433 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.6525, allocations: 0 / 0.8433 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002227/0.6547, allocations: 1.066 MB / 0.8443 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.6548, allocations: 11.3 kB / 0.8443 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.6548, allocations: 0 / 0.8443 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005881/0.6554, allocations: 86.66 kB / 0.8444 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000922/0.6563, allocations: 214 kB / 0.8446 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002018/0.6583, allocations: 1.644 MB / 0.8462 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007956/0.6591, allocations: 115.3 kB / 0.8463 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.501e-05/0.6592, allocations: 39.97 kB / 0.8463 GB, free: 4.281 MB / 0.6075 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 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004767/0.6597, allocations: 309.6 kB / 0.8466 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001909/0.6599, allocations: 107.3 kB / 0.8467 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003054/0.663, allocations: 1.383 MB / 0.8481 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/0.663, allocations: 15.94 kB / 0.8481 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.663, allocations: 0 / 0.8481 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/0.663, allocations: 7.969 kB / 0.8481 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004029/0.6671, allocations: 2.564 MB / 0.8506 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.6671, allocations: 0 / 0.8506 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008213/0.6679, allocations: 195.7 kB / 0.8508 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004396/0.6684, allocations: 72.8 kB / 0.8509 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.198e-05/0.6684, allocations: 27.97 kB / 0.8509 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001857/0.6703, allocations: 1.686 MB / 0.8526 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.6703, allocations: 0 / 0.8526 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002294/0.6726, allocations: 1.182 MB / 0.8537 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004466/0.6731, allocations: 324 kB / 0.854 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001513/0.6732, allocations: 39.08 kB / 0.8541 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007342/0.674, allocations: 61.66 kB / 0.8541 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/0.6741, allocations: 72.89 kB / 0.8542 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.996e-05/0.6742, allocations: 39.97 kB / 0.8542 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007233/0.6749, allocations: 0.577 MB / 0.8548 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6749, allocations: 3.938 kB / 0.8548 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009851/0.6759, allocations: 402.8 kB / 0.8552 GB, free: 10.98 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003653/0.6796, allocations: 2.241 MB / 0.8574 GB, free: 8.902 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001929/0.6815, allocations: 1.003 MB / 0.8583 GB, free: 7.887 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.6816, allocations: 0 / 0.8583 GB, free: 7.887 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.6826, allocations: 0.6095 MB / 0.8589 GB, free: 7.266 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001359/0.684, allocations: 300 kB / 0.8592 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01313/0.6971, allocations: 8.154 MB / 0.8672 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006796/0.6978, allocations: 1.169 MB / 0.8683 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008945/0.6987, allocations: 296.4 kB / 0.8686 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000747/0.6995, allocations: 0.5422 MB / 0.8691 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of SimCode: time 5.81e-07/0.6995, allocations: 7.938 kB / 0.8691 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05237/0.7519, allocations: 26.22 MB / 0.8947 GB, free: 2.688 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.89/13.64, allocations: 3.938 kB / 0.8947 GB, free: 2.684 MB / 0.6544 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)