Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.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.Examples.ZenithAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_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.001726/0.001726, allocations: 108 kB / 15.6 MB, free: 132 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.002079/0.002079, allocations: 192.8 kB / 16.53 MB, free: 6.391 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.761/2.761, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.607/1.607, allocations: 135.1 MB / 425.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002288/0.002289, allocations: 60.38 kB / 0.5054 GB, free: 5.191 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.2299, allocations: 80.93 MB / 0.5845 GB, free: 4.418 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.009398/0.2393, allocations: 4.053 MB / 0.5884 GB, free: 348 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.6344/0.8738, allocations: 150.5 MB / 0.7354 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009536/0.8748, allocations: 19.12 kB / 0.7354 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008203/0.8757, allocations: 170.5 kB / 0.7355 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00227/0.878, allocations: 471.7 kB / 0.736 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.007547/0.8855, allocations: 0.7791 MB / 0.7367 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002441/0.888, allocations: 1.168 MB / 0.7379 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001573/0.8896, allocations: 0.6088 MB / 0.7385 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001007/0.8906, allocations: 422 kB / 0.7389 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009469/0.8916, allocations: 452.4 kB / 0.7393 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002408/0.8919, allocations: 104.9 kB / 0.7394 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001466/0.8934, allocations: 445.7 kB / 0.7398 GB, free: 10 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003688/0.8938, allocations: 270.1 kB / 0.7401 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006686/0.8944, allocations: 0.4892 MB / 0.7406 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002682/0.8971, allocations: 1.452 MB / 0.742 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.305e-06/0.8972, allocations: 0 / 0.742 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8972, allocations: 3.938 kB / 0.742 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.613e-05/0.8972, allocations: 1.375 kB / 0.742 GB, free: 8.574 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.008287/0.9055, allocations: 1.316 MB / 0.7433 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.776e-05/0.9056, allocations: 9.625 kB / 0.7433 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002448/0.9059, allocations: 137 kB / 0.7434 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001649/0.9075, allocations: 174.3 kB / 0.7436 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001794/0.9093, allocations: 0.6984 MB / 0.7443 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.741e-05/0.9094, allocations: 57.88 kB / 0.7443 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001723/0.9096, allocations: 81.81 kB / 0.7444 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002589/0.9122, allocations: 0.8553 MB / 0.7452 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.241e-05/0.9123, allocations: 6.594 kB / 0.7452 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001343/0.9124, allocations: 35.88 kB / 0.7453 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.717e-05/0.9125, allocations: 21.86 kB / 0.7453 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007179/0.9197, allocations: 1.057 MB / 0.7463 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01126/0.931, allocations: 2.378 MB / 0.7487 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002443/0.9335, allocations: 0.8015 MB / 0.7494 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009405/0.9345, allocations: 278.5 kB / 0.7497 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001101/0.9346, allocations: 28.23 kB / 0.7497 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001326/0.9359, allocations: 418.3 kB / 0.7501 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 4.529e-06/0.936, allocations: 0.6562 kB / 0.7501 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70): time 0.005093/0.9411, allocations: 1.074 MB / 0.7512 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001504/0.9413, allocations: 188.5 kB / 0.7514 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001378/0.9467, allocations: 0.5861 MB / 0.7519 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002138/0.9469, allocations: 41.7 kB / 0.752 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004795/0.9474, allocations: 376.2 kB / 0.7523 GB, free: 452 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003684/0.9478, allocations: 232.6 kB / 0.7526 GB, free: 216 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003443/0.9482, allocations: 134 kB / 0.7527 GB, free: 80 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002501/0.9484, allocations: 378.8 kB / 0.753 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000784/0.9492, allocations: 213.1 kB / 0.7532 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009622/0.9502, allocations: 322.8 kB / 0.7536 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001728/0.952, allocations: 0.5195 MB / 0.7541 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.952, allocations: 0 / 0.7541 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.007578/0.9596, allocations: 0.7158 MB / 0.7548 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.157e-05/0.9597, allocations: 4 kB / 0.7548 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.9597, allocations: 0 / 0.7548 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009599/0.9607, allocations: 84.86 kB / 0.7548 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/0.9618, allocations: 131.8 kB / 0.755 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003811/0.9657, allocations: 1.643 MB / 0.7566 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/0.9669, allocations: 72.12 kB / 0.7566 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/0.9671, allocations: 27.11 kB / 0.7567 GB, free: 11.8 MB / 0.5762 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 (73): * Single equations (assignments): 72 * 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.0007179/0.9678, allocations: 249.7 kB / 0.7569 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003302/0.9682, allocations: 83 kB / 0.757 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004524/0.9727, allocations: 0.961 MB / 0.7579 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.012e-05/0.9727, allocations: 8 kB / 0.7579 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.9728, allocations: 0.875 kB / 0.7579 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.095e-05/0.9728, allocations: 3.984 kB / 0.7579 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006011/0.9788, allocations: 1.836 MB / 0.7597 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.802e-06/0.9789, allocations: 4.047 kB / 0.7597 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009845/0.9799, allocations: 139.8 kB / 0.7599 GB, free: 8.445 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007851/0.9807, allocations: 72.72 kB / 0.7599 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000107/0.9808, allocations: 24.06 kB / 0.76 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003385/0.9842, allocations: 1.67 MB / 0.7616 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.9843, allocations: 0 / 0.7616 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00352/0.9878, allocations: 0.9023 MB / 0.7625 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007008/0.9885, allocations: 251.9 kB / 0.7627 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002882/0.9888, allocations: 23.84 kB / 0.7627 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/0.99, allocations: 48.64 kB / 0.7628 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002094/0.9902, allocations: 60.92 kB / 0.7628 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001078/0.9903, allocations: 35.92 kB / 0.7629 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009458/0.9913, allocations: 427 kB / 0.7633 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.32e-07/0.9913, allocations: 5.531 kB / 0.7633 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001505/0.9928, allocations: 275.4 kB / 0.7635 GB, free: 4.5 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 (81): * Single equations (assignments): 78 * 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.006147/0.999, allocations: 1.94 MB / 0.7654 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004037/1.003, allocations: 0.8913 MB / 0.7663 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/1.003, allocations: 0 / 0.7663 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001676/1.005, allocations: 492.5 kB / 0.7668 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00238/1.007, allocations: 278.5 kB / 0.767 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01753/1.025, allocations: 5.99 MB / 0.7729 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008524/1.026, allocations: 0.9881 MB / 0.7739 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001599/1.027, allocations: 246 kB / 0.7741 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008535/1.028, allocations: 355.3 kB / 0.7744 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of SimCode: time 1.202e-06/1.028, allocations: 0 / 0.7744 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2173/1.245, allocations: 19.44 MB / 0.7934 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.75/19, allocations: 9.094 kB / 0.7934 GB, free: 6.258 MB / 0.6075 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.csv --start-time 100000 --stop-time 300000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 80 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)