Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.WallSolarAzimuth,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",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.001243/0.001243, 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.001294/0.001294, allocations: 198.6 kB / 16.54 MB, free: 6.672 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.225/1.225, 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/package.mo): time 0.7014/0.7014, allocations: 132.2 MB / 422.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 69.48 kB / 0.5019 GB, free: 8.629 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.125, allocations: 80.19 MB / 0.5802 GB, free: 8.652 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth): time 0.005269/0.1303, allocations: 4.313 MB / 0.5844 GB, free: 4.316 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3403/0.4706, allocations: 150.6 MB / 0.7315 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005674/0.4712, allocations: 23.69 kB / 0.7315 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004635/0.4717, allocations: 172.5 kB / 0.7316 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001237/0.473, allocations: 0.4998 MB / 0.7321 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001538/0.4745, allocations: 0.8218 MB / 0.7329 GB, free: 168 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000989/0.4755, allocations: 1.264 MB / 0.7342 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008225/0.4763, allocations: 0.7071 MB / 0.7349 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004775/0.4768, allocations: 494.1 kB / 0.7353 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004755/0.4773, allocations: 0.5022 MB / 0.7358 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001505/0.4775, allocations: 118.2 kB / 0.7359 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000686/0.4782, allocations: 489.7 kB / 0.7364 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002257/0.4784, allocations: 301.6 kB / 0.7367 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004076/0.4788, allocations: 0.5552 MB / 0.7372 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001265/0.4801, allocations: 1.612 MB / 0.7388 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.4801, allocations: 4 kB / 0.7388 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.122e-06/0.4801, allocations: 0 / 0.7388 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.514e-05/0.4801, allocations: 4 kB / 0.7388 GB, free: 13.13 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: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.001987/0.4821, allocations: 1.445 MB / 0.7402 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.4821, allocations: 8 kB / 0.7402 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001402/0.4823, allocations: 144.8 kB / 0.7404 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000823/0.4831, allocations: 194 kB / 0.7406 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008956/0.484, allocations: 0.7439 MB / 0.7413 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.525e-05/0.4841, allocations: 67.44 kB / 0.7413 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.4842, allocations: 93.41 kB / 0.7414 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/0.4856, allocations: 0.9886 MB / 0.7424 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.4856, allocations: 0 / 0.7424 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.113e-05/0.4857, allocations: 37.62 kB / 0.7424 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.563e-05/0.4857, allocations: 23.38 kB / 0.7425 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0016/0.4874, allocations: 1.164 MB / 0.7436 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003535/0.4909, allocations: 2.739 MB / 0.7463 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/0.4921, allocations: 0.7707 MB / 0.747 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004582/0.4926, allocations: 304.5 kB / 0.7473 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.903e-05/0.4926, allocations: 40.22 kB / 0.7474 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007488/0.4934, allocations: 456.6 kB / 0.7478 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=80): time 1.914e-06/0.4934, allocations: 0 / 0.7478 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=80): time 0.002785/0.4962, allocations: 1.159 MB / 0.7489 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.398e-05/0.4963, allocations: 188.6 kB / 0.7491 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006547/0.497, allocations: 0.6332 MB / 0.7497 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.525e-05/0.497, allocations: 41.7 kB / 0.7498 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002636/0.4973, allocations: 420.1 kB / 0.7502 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001733/0.4975, allocations: 260.2 kB / 0.7504 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002031/0.4977, allocations: 150.5 kB / 0.7506 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.4978, allocations: 382.8 kB / 0.7509 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004453/0.4983, allocations: 237.9 kB / 0.7511 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005465/0.4988, allocations: 354.6 kB / 0.7515 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.4998, allocations: 0.5877 MB / 0.7521 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.4999, allocations: 0 / 0.7521 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001688/0.5016, allocations: 0.798 MB / 0.7528 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.5016, allocations: 4 kB / 0.7528 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.5016, allocations: 3.938 kB / 0.7528 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005559/0.5022, allocations: 84.83 kB / 0.7529 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000591/0.5028, allocations: 155.1 kB / 0.7531 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001926/0.5047, allocations: 1.63 MB / 0.7547 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005175/0.5052, allocations: 91.3 kB / 0.7548 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-05/0.5053, allocations: 31.98 kB / 0.7548 GB, free: 15.37 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 (85): * Single equations (assignments): 84 * 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.00032/0.5056, allocations: 269 kB / 0.755 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.5057, allocations: 79.06 kB / 0.7551 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002274/0.508, allocations: 1.088 MB / 0.7562 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.5081, allocations: 15.94 kB / 0.7562 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.5081, allocations: 0 / 0.7562 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.5081, allocations: 3.984 kB / 0.7562 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002934/0.511, allocations: 2.009 MB / 0.7582 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.511, allocations: 0 / 0.7582 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005767/0.5116, allocations: 151.8 kB / 0.7583 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004175/0.512, allocations: 76.78 kB / 0.7584 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.699e-05/0.5121, allocations: 26.05 kB / 0.7584 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001697/0.5138, allocations: 1.666 MB / 0.76 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.5138, allocations: 4 kB / 0.76 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001753/0.5156, allocations: 0.9764 MB / 0.761 GB, free: 8.777 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002894/0.5159, allocations: 267.7 kB / 0.7612 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.516, allocations: 24 kB / 0.7613 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005484/0.5165, allocations: 51.94 kB / 0.7613 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.5167, allocations: 64.91 kB / 0.7614 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.696e-05/0.5167, allocations: 27.98 kB / 0.7614 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004902/0.5172, allocations: 471 kB / 0.7618 GB, free: 7.875 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5172, allocations: 4 kB / 0.7619 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007311/0.518, allocations: 315.2 kB / 0.7622 GB, free: 7.562 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 (94): * Single equations (assignments): 91 * 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.003094/0.5211, allocations: 2.039 MB / 0.7641 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002052/0.5231, allocations: 0.995 MB / 0.7651 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.5232, allocations: 0 / 0.7651 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008317/0.524, allocations: 0.5198 MB / 0.7656 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.5251, allocations: 294.7 kB / 0.7659 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009628/0.5347, allocations: 6.574 MB / 0.7723 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005392/0.5353, allocations: 1.043 MB / 0.7733 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007279/0.536, allocations: 270.7 kB / 0.7736 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000485/0.5365, allocations: 403.3 kB / 0.774 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of SimCode: time 3.3e-07/0.5365, allocations: 0 / 0.774 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04309/0.5796, allocations: 21.35 MB / 0.7948 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.29/10.87, allocations: 3.625 kB / 0.7948 GB, free: 6.551 MB / 0.6075 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1)