Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.AltitudeAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",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.001604/0.001604, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00207/0.00207, allocations: 196.5 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.446/2.446, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.596/1.596, allocations: 135.1 MB / 425.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002324/0.002324, allocations: 61.22 kB / 0.5054 GB, free: 5.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2318, allocations: 80.93 MB / 0.5845 GB, free: 4.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.009463/0.2413, allocations: 4.116 MB / 0.5885 GB, free: 328 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5117/0.7531, allocations: 150.5 MB / 0.7354 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009124/0.754, allocations: 19.53 kB / 0.7355 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008801/0.755, allocations: 173.3 kB / 0.7356 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002391/0.7574, allocations: 487.4 kB / 0.7361 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002861/0.7603, allocations: 0.7856 MB / 0.7368 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00229/0.7626, allocations: 1.188 MB / 0.738 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001605/0.7642, allocations: 0.608 MB / 0.7386 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001021/0.7653, allocations: 438.5 kB / 0.739 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001029/0.7663, allocations: 457.5 kB / 0.7395 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000335/0.7667, allocations: 102.3 kB / 0.7396 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001426/0.7681, allocations: 444.1 kB / 0.74 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004682/0.7686, allocations: 268.9 kB / 0.7402 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001047/0.7696, allocations: 0.501 MB / 0.7407 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002887/0.7725, allocations: 1.445 MB / 0.7421 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 9.648e-06/0.7726, allocations: 5.641 kB / 0.7421 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7726, allocations: 0 / 0.7421 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.911e-05/0.7727, allocations: 0 / 0.7421 GB, free: 8.496 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.004091/0.7768, allocations: 1.335 MB / 0.7434 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.7768, allocations: 13.89 kB / 0.7435 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002892/0.7771, allocations: 123.9 kB / 0.7436 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004067/0.7812, allocations: 182.8 kB / 0.7437 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002582/0.7838, allocations: 0.7032 MB / 0.7444 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.697e-05/0.7839, allocations: 57.62 kB / 0.7445 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002355/0.7842, allocations: 80.25 kB / 0.7446 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002842/0.787, allocations: 0.8677 MB / 0.7454 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.068e-05/0.7871, allocations: 2.469 kB / 0.7454 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001558/0.7873, allocations: 31.31 kB / 0.7454 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.519e-05/0.7873, allocations: 25.31 kB / 0.7455 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003171/0.7905, allocations: 1.065 MB / 0.7465 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006607/0.7971, allocations: 2.38 MB / 0.7488 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002323/0.7995, allocations: 0.7965 MB / 0.7496 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009027/0.8004, allocations: 284 kB / 0.7499 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001141/0.8006, allocations: 29.81 kB / 0.7499 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001301/0.8019, allocations: 429.2 kB / 0.7503 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 4.228e-06/0.8019, allocations: 0 / 0.7503 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.004395/0.8063, allocations: 1.08 MB / 0.7514 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.8065, allocations: 196.6 kB / 0.7516 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/0.8075, allocations: 0.5823 MB / 0.7521 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.724e-05/0.8076, allocations: 41.7 kB / 0.7522 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003408/0.808, allocations: 380.2 kB / 0.7525 GB, free: 312 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003099/0.8083, allocations: 236.6 kB / 0.7528 GB, free: 72 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003692/0.8087, allocations: 134.2 kB / 0.7529 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002233/0.8089, allocations: 379.6 kB / 0.7533 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007656/0.8097, allocations: 217.2 kB / 0.7535 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009045/0.8106, allocations: 327.6 kB / 0.7538 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00163/0.8123, allocations: 0.5363 MB / 0.7543 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/0.8123, allocations: 3.938 kB / 0.7543 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002868/0.8152, allocations: 0.7236 MB / 0.755 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.8152, allocations: 4 kB / 0.755 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.8152, allocations: 0 / 0.755 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006935/0.8159, allocations: 86.95 kB / 0.7551 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/0.817, allocations: 145 kB / 0.7552 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003357/0.8203, allocations: 1.631 MB / 0.7568 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/0.8214, allocations: 75.39 kB / 0.7569 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/0.8216, allocations: 27.98 kB / 0.7569 GB, free: 11.59 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (77): * Single equations (assignments): 76 * 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.0007674/0.8223, allocations: 248 kB / 0.7572 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004249/0.8228, allocations: 79.06 kB / 0.7572 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003956/0.8268, allocations: 1.015 MB / 0.7582 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.547e-05/0.8268, allocations: 8 kB / 0.7582 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.351e-06/0.8268, allocations: 0 / 0.7582 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.674e-05/0.8268, allocations: 3.984 kB / 0.7582 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005679/0.8325, allocations: 1.869 MB / 0.7601 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.8326, allocations: 0 / 0.7601 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009729/0.8336, allocations: 143.8 kB / 0.7602 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007147/0.8343, allocations: 80.72 kB / 0.7603 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.462e-05/0.8344, allocations: 27.98 kB / 0.7603 GB, free: 8.047 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00304/0.8375, allocations: 1.65 MB / 0.7619 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.8375, allocations: 7.969 kB / 0.7619 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003543/0.841, allocations: 0.9141 MB / 0.7628 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006735/0.8417, allocations: 267.8 kB / 0.7631 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002718/0.842, allocations: 19.94 kB / 0.7631 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001141/0.8432, allocations: 52.59 kB / 0.7631 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002116/0.8434, allocations: 64.91 kB / 0.7632 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000117/0.8436, allocations: 31.98 kB / 0.7632 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001064/0.8446, allocations: 431 kB / 0.7636 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.31e-07/0.8447, allocations: 4 kB / 0.7636 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001587/0.8463, allocations: 275.4 kB / 0.7639 GB, free: 4.176 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 (87): * Single equations (assignments): 84 * 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.006039/0.8523, allocations: 1.977 MB / 0.7658 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003767/0.8561, allocations: 0.9184 MB / 0.7667 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.8561, allocations: 0 / 0.7667 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001347/0.8575, allocations: 0.489 MB / 0.7672 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001928/0.8594, allocations: 275.5 kB / 0.7675 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01162/0.8711, allocations: 6.079 MB / 0.7734 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000659/0.8718, allocations: 1.001 MB / 0.7744 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008823/0.8727, allocations: 254.2 kB / 0.7746 GB, free: 9.254 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005142/0.8732, allocations: 359.2 kB / 0.775 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of SimCode: time 6.82e-07/0.8732, allocations: 0 / 0.775 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05016/0.9234, allocations: 19.71 MB / 0.7942 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.61/18.53, allocations: 3.75 kB / 0.7942 GB, free: 5.531 MB / 0.6075 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_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_BaseClasses_Examples_AltitudeAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)