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.004598/0.004598, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001642/0.001642, allocations: 192.2 kB / 16.67 MB, free: 5.969 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.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7891/0.7891, allocations: 135.1 MB / 425.7 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 66.17 kB / 0.5851 GB, free: 21.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1367, allocations: 80.91 MB / 0.6641 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005784/0.1426, allocations: 4.091 MB / 0.6681 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4754/0.618, allocations: 150.5 MB / 0.815 GB, free: 8.797 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006563/0.6187, allocations: 19.12 kB / 0.8151 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005117/0.6193, allocations: 163.9 kB / 0.8152 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001372/0.6206, allocations: 476.7 kB / 0.8157 GB, free: 8.516 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001666/0.6223, allocations: 0.7911 MB / 0.8164 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001011/0.6233, allocations: 1.182 MB / 0.8176 GB, free: 8.016 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007374/0.6241, allocations: 0.6108 MB / 0.8182 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004666/0.6246, allocations: 424.8 kB / 0.8186 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004232/0.625, allocations: 453.7 kB / 0.819 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001134/0.6251, allocations: 104.4 kB / 0.8191 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007834/0.6259, allocations: 476.8 kB / 0.8196 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002114/0.6261, allocations: 268 kB / 0.8198 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003717/0.6265, allocations: 496.2 kB / 0.8203 GB, free: 7.047 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001613/0.6281, allocations: 1.504 MB / 0.8218 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.6282, allocations: 3.938 kB / 0.8218 GB, free: 5.953 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6282, allocations: 2.594 kB / 0.8218 GB, free: 5.953 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.343e-05/0.6282, allocations: 0 / 0.8218 GB, free: 5.953 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002064/0.6302, allocations: 1.341 MB / 0.8231 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.6303, allocations: 14.42 kB / 0.8231 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000143/0.6304, allocations: 127.1 kB / 0.8232 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009072/0.6314, allocations: 182.8 kB / 0.8234 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.6324, allocations: 0.7328 MB / 0.8241 GB, free: 4.066 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.878e-05/0.6325, allocations: 55.84 kB / 0.8242 GB, free: 4.043 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.488e-05/0.6326, allocations: 79.34 kB / 0.8243 GB, free: 4.016 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0014/0.634, allocations: 0.855 MB / 0.8251 GB, free: 3.457 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.634, allocations: 4 kB / 0.8251 GB, free: 3.453 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.412e-05/0.6341, allocations: 38.22 kB / 0.8251 GB, free: 3.426 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.638e-05/0.6341, allocations: 20.97 kB / 0.8251 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001625/0.6358, allocations: 1.057 MB / 0.8262 GB, free: 2.922 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003535/0.6393, allocations: 2.358 MB / 0.8285 GB, free: 1.09 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001298/0.6406, allocations: 0.7984 MB / 0.8293 GB, free: 0.6289 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004677/0.6411, allocations: 272.5 kB / 0.8295 GB, free: 0.4961 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.12e-05/0.6412, allocations: 33.14 kB / 0.8296 GB, free: 488 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007088/0.6419, allocations: 419 kB / 0.83 GB, free: 212 kB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 2.725e-06/0.6419, allocations: 0 / 0.83 GB, free: 212 kB / 0.5919 GB Notification: Performance of matching and sorting (n=70): time 0.002871/0.6448, allocations: 1.073 MB / 0.831 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.786e-05/0.6449, allocations: 192 kB / 0.8312 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006539/0.6456, allocations: 0.5854 MB / 0.8318 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.913e-05/0.6456, allocations: 42.11 kB / 0.8318 GB, free: 15 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002684/0.6459, allocations: 382.3 kB / 0.8322 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001776/0.6461, allocations: 245.8 kB / 0.8324 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001897/0.6463, allocations: 129.5 kB / 0.8325 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.6465, allocations: 378 kB / 0.8329 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004155/0.6469, allocations: 213.1 kB / 0.8331 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005066/0.6474, allocations: 315.6 kB / 0.8334 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009234/0.6483, allocations: 0.5253 MB / 0.8339 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.6483, allocations: 0 / 0.8339 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001655/0.65, allocations: 0.7198 MB / 0.8346 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.65, allocations: 4.531 kB / 0.8346 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.65, allocations: 3 kB / 0.8346 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005767/0.6506, allocations: 83.03 kB / 0.8347 GB, free: 13 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005482/0.6512, allocations: 134.2 kB / 0.8348 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002044/0.6532, allocations: 1.637 MB / 0.8364 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00056/0.6538, allocations: 84.31 kB / 0.8365 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.916e-05/0.6539, allocations: 26.14 kB / 0.8365 GB, free: 11.29 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 (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.0003423/0.6542, allocations: 248.8 kB / 0.8368 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/0.6544, allocations: 82.7 kB / 0.8368 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002088/0.6565, allocations: 0.9595 MB / 0.8378 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.6565, allocations: 7.281 kB / 0.8378 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.6565, allocations: 2.812 kB / 0.8378 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.6565, allocations: 7.969 kB / 0.8378 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002892/0.6594, allocations: 1.839 MB / 0.8396 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.6594, allocations: 4 kB / 0.8396 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005245/0.66, allocations: 133.4 kB / 0.8397 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000437/0.6604, allocations: 74.28 kB / 0.8398 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.781e-05/0.6605, allocations: 27.3 kB / 0.8398 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001839/0.6623, allocations: 1.67 MB / 0.8414 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.6623, allocations: 0 / 0.8414 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001706/0.664, allocations: 0.8979 MB / 0.8423 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003473/0.6644, allocations: 265.2 kB / 0.8426 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.6645, allocations: 24.94 kB / 0.8426 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005538/0.6651, allocations: 49.66 kB / 0.8426 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.6652, allocations: 61.09 kB / 0.8427 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.665e-05/0.6653, allocations: 25.55 kB / 0.8427 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004834/0.6658, allocations: 432.2 kB / 0.8431 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6658, allocations: 0 / 0.8431 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007383/0.6665, allocations: 286.3 kB / 0.8434 GB, free: 6.352 MB / 0.6075 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.003149/0.6697, allocations: 1.947 MB / 0.8453 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00144/0.6711, allocations: 0.7117 MB / 0.846 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.6711, allocations: 0 / 0.846 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008337/0.672, allocations: 488.4 kB / 0.8465 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/0.6732, allocations: 287.2 kB / 0.8467 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009659/0.6829, allocations: 5.838 MB / 0.8524 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005256/0.6834, allocations: 0.9875 MB / 0.8534 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007186/0.6842, allocations: 254 kB / 0.8537 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000454/0.6846, allocations: 347.3 kB / 0.854 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of SimCode: time 4.3e-07/0.6846, allocations: 0 / 0.854 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04478/0.7294, allocations: 19.67 MB / 0.8732 GB, free: 8.832 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/12.81, allocations: 6.062 kB / 0.8732 GB, free: 8.828 MB / 0.6387 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)