Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_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.001751/0.001751, 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.002062/0.002062, allocations: 197 kB / 16.53 MB, free: 6.664 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.457/2.457, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.542/1.542, allocations: 135.1 MB / 425.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00254/0.00254, allocations: 67.5 kB / 0.5054 GB, free: 5.254 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2179, allocations: 80.92 MB / 0.5845 GB, free: 4.488 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.01063/0.2286, allocations: 4.151 MB / 0.5885 GB, free: 320 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.6334/0.862, allocations: 150.7 MB / 0.7356 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009423/0.8629, allocations: 18.97 kB / 0.7357 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001023/0.8641, allocations: 168.6 kB / 0.7358 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003108/0.8672, allocations: 499.6 kB / 0.7363 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003936/0.8711, allocations: 0.7865 MB / 0.7371 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002606/0.8738, allocations: 1.196 MB / 0.7382 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001811/0.8756, allocations: 0.623 MB / 0.7388 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00114/0.8768, allocations: 443.4 kB / 0.7393 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001174/0.878, allocations: 472.4 kB / 0.7397 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003825/0.8784, allocations: 105.8 kB / 0.7398 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001633/0.88, allocations: 441.7 kB / 0.7402 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005066/0.8806, allocations: 279.3 kB / 0.7405 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001085/0.8817, allocations: 0.5006 MB / 0.741 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003373/0.8851, allocations: 1.468 MB / 0.7424 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.8851, allocations: 0 / 0.7424 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.184e-06/0.8851, allocations: 0 / 0.7424 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.339e-05/0.8852, allocations: 4 kB / 0.7424 GB, free: 8.262 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.004632/0.8898, allocations: 1.347 MB / 0.7437 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.928e-05/0.8899, allocations: 13.61 kB / 0.7438 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003231/0.8903, allocations: 128.2 kB / 0.7439 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00184/0.8921, allocations: 179.8 kB / 0.7441 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002144/0.8943, allocations: 0.7163 MB / 0.7448 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.8944, allocations: 60.31 kB / 0.7448 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002155/0.8947, allocations: 83.23 kB / 0.7449 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002893/0.8976, allocations: 0.8848 MB / 0.7458 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.291e-05/0.8976, allocations: 0 / 0.7458 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001658/0.8978, allocations: 37.47 kB / 0.7458 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.721e-05/0.8979, allocations: 18.47 kB / 0.7458 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003346/0.9012, allocations: 1.099 MB / 0.7469 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007795/0.909, allocations: 2.501 MB / 0.7493 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002508/0.9116, allocations: 0.7313 MB / 0.75 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001007/0.9126, allocations: 290.3 kB / 0.7503 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001425/0.9128, allocations: 32.61 kB / 0.7503 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001562/0.9144, allocations: 447.2 kB / 0.7508 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=76): time 6.913e-06/0.9144, allocations: 0 / 0.7508 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76): time 0.005957/0.9204, allocations: 1.112 MB / 0.7519 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001821/0.9206, allocations: 192.6 kB / 0.752 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00165/0.9223, allocations: 0.5941 MB / 0.7526 GB, free: 260 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001493/0.9225, allocations: 41.7 kB / 0.7527 GB, free: 212 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005792/0.9231, allocations: 380.3 kB / 0.753 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004071/0.9235, allocations: 252.2 kB / 0.7533 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004738/0.924, allocations: 146.5 kB / 0.7534 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002638/0.9243, allocations: 386.7 kB / 0.7538 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009885/0.9253, allocations: 229.9 kB / 0.754 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001156/0.9265, allocations: 342.2 kB / 0.7543 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002094/0.9286, allocations: 0.555 MB / 0.7549 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/0.9286, allocations: 0 / 0.7549 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003657/0.9323, allocations: 0.7511 MB / 0.7556 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.885e-05/0.9324, allocations: 11 kB / 0.7556 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/0.9324, allocations: 7.984 kB / 0.7556 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001101/0.9335, allocations: 84.72 kB / 0.7557 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001315/0.9349, allocations: 143.8 kB / 0.7558 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003796/0.9387, allocations: 1.634 MB / 0.7574 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/0.9399, allocations: 75.44 kB / 0.7575 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001492/0.94, allocations: 31.97 kB / 0.7575 GB, free: 11.01 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 (81): * Single equations (assignments): 80 * 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.0007763/0.9408, allocations: 249.7 kB / 0.7578 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003879/0.9412, allocations: 84.41 kB / 0.7578 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004537/0.9458, allocations: 1.026 MB / 0.7588 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.786e-05/0.9459, allocations: 8 kB / 0.7589 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.9459, allocations: 0 / 0.7589 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.546e-05/0.9459, allocations: 12.02 kB / 0.7589 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006176/0.9521, allocations: 1.884 MB / 0.7607 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/0.9521, allocations: 0 / 0.7607 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001219/0.9534, allocations: 151.8 kB / 0.7609 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007593/0.9542, allocations: 64.8 kB / 0.7609 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001083/0.9543, allocations: 23.98 kB / 0.7609 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0034/0.9577, allocations: 1.674 MB / 0.7626 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.9577, allocations: 3.938 kB / 0.7626 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003746/0.9615, allocations: 0.9297 MB / 0.7635 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000695/0.9622, allocations: 259.8 kB / 0.7637 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002678/0.9625, allocations: 20 kB / 0.7638 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/0.9637, allocations: 54 kB / 0.7638 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002269/0.9639, allocations: 60.92 kB / 0.7639 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001196/0.964, allocations: 35.97 kB / 0.7639 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001127/0.9652, allocations: 443 kB / 0.7643 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.21e-07/0.9652, allocations: 0 / 0.7643 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001697/0.9669, allocations: 291.2 kB / 0.7646 GB, free: 3.508 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.006196/0.9731, allocations: 1.975 MB / 0.7665 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004304/0.9775, allocations: 0.9461 MB / 0.7674 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/0.9775, allocations: 0 / 0.7674 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001665/0.9792, allocations: 0.4926 MB / 0.7679 GB, free: 276 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00249/0.9817, allocations: 286.5 kB / 0.7682 GB, free: 12 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02024/1.002, allocations: 6.255 MB / 0.7743 GB, free: 9.656 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001018/1.003, allocations: 1.011 MB / 0.7753 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001789/1.005, allocations: 258.4 kB / 0.7755 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001037/1.006, allocations: 367.3 kB / 0.7759 GB, free: 8 MB / 0.5919 GB Notification: Performance of SimCode: time 1.794e-06/1.006, allocations: 0 / 0.7759 GB, free: 8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08915/1.095, allocations: 20.18 MB / 0.7956 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.38/21.48, allocations: 3.375 kB / 0.7956 GB, free: 4.164 MB / 0.6075 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.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_BaseClasses_Examples_IncidenceAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)