Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.004605/0.004605, allocations: 102.9 kB / 15.74 MB, free: 6.496 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.001156/0.001155, allocations: 193.4 kB / 16.68 MB, free: 6.375 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.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6982/0.6982, allocations: 132.2 MB / 422.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 63.41 kB / 0.5809 GB, free: 1.129 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1288, allocations: 80.21 MB / 0.6592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005187/0.1341, allocations: 4.04 MB / 0.6631 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1393/0.2734, allocations: 150.5 MB / 0.8101 GB, free: 2.902 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005928/0.274, allocations: 15.94 kB / 0.8101 GB, free: 2.887 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005313/0.2746, allocations: 166.5 kB / 0.8102 GB, free: 2.723 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001401/0.276, allocations: 479.3 kB / 0.8107 GB, free: 2.254 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001661/0.2777, allocations: 0.7787 MB / 0.8115 GB, free: 1.484 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001116/0.2788, allocations: 1.164 MB / 0.8126 GB, free: 324 kB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3001/0.5789, allocations: 0.579 MB / 0.8132 GB, free: 3.355 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006571/0.5796, allocations: 419.8 kB / 0.8136 GB, free: 3.355 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004527/0.5801, allocations: 435.8 kB / 0.814 GB, free: 3.355 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001286/0.5802, allocations: 100.9 kB / 0.8141 GB, free: 3.355 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007973/0.581, allocations: 477.3 kB / 0.8145 GB, free: 3.355 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002075/0.5812, allocations: 262.9 kB / 0.8148 GB, free: 3.355 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.000377/0.5816, allocations: 490.2 kB / 0.8152 GB, free: 3.355 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001519/0.5831, allocations: 1.467 MB / 0.8167 GB, free: 3.277 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.5831, allocations: 0 / 0.8167 GB, free: 3.277 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5831, allocations: 0 / 0.8167 GB, free: 3.277 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.236e-05/0.5832, allocations: 1.406 kB / 0.8167 GB, free: 3.277 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.001867/0.585, allocations: 1.342 MB / 0.818 GB, free: 2.523 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.5851, allocations: 10.5 kB / 0.818 GB, free: 2.523 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001425/0.5852, allocations: 127 kB / 0.8181 GB, free: 2.484 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008836/0.5861, allocations: 179.9 kB / 0.8183 GB, free: 2.426 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.5872, allocations: 0.7235 MB / 0.819 GB, free: 2.121 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.992e-05/0.5872, allocations: 64.58 kB / 0.8191 GB, free: 2.117 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.5873, allocations: 73.22 kB / 0.8191 GB, free: 2.117 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/0.5889, allocations: 0.8388 MB / 0.8199 GB, free: 1.969 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.5889, allocations: 0.6875 kB / 0.8199 GB, free: 1.969 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.552e-05/0.589, allocations: 33.91 kB / 0.82 GB, free: 1.969 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.522e-05/0.589, allocations: 22.61 kB / 0.82 GB, free: 1.969 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001667/0.5907, allocations: 1.046 MB / 0.821 GB, free: 1.961 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003203/0.5939, allocations: 2.305 MB / 0.8233 GB, free: 1.219 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/0.595, allocations: 0.7734 MB / 0.824 GB, free: 1.098 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004333/0.5955, allocations: 274.9 kB / 0.8243 GB, free: 1.086 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 6.703e-05/0.5955, allocations: 27.45 kB / 0.8243 GB, free: 1.086 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006567/0.5962, allocations: 413.5 kB / 0.8247 GB, free: 1.02 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=70): time 1.933e-06/0.5962, allocations: 0 / 0.8247 GB, free: 1.02 MB / 0.6387 GB Notification: Performance of matching and sorting (n=70): time 0.002728/0.599, allocations: 1.058 MB / 0.8257 GB, free: 16.82 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.017e-05/0.5991, allocations: 192.3 kB / 0.8259 GB, free: 16.61 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005908/0.5997, allocations: 0.578 MB / 0.8265 GB, free: 16.48 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.364e-05/0.5997, allocations: 40.73 kB / 0.8265 GB, free: 16.45 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001889/0.5999, allocations: 373.5 kB / 0.8269 GB, free: 16.27 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.6, allocations: 242.1 kB / 0.8271 GB, free: 16.12 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001667/0.6002, allocations: 129.1 kB / 0.8272 GB, free: 16.1 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.6003, allocations: 382 kB / 0.8276 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003782/0.6007, allocations: 209.8 kB / 0.8278 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000444/0.6012, allocations: 311.1 kB / 0.8281 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008249/0.602, allocations: 0.5128 MB / 0.8286 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.602, allocations: 0 / 0.8286 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001469/0.6035, allocations: 0.7035 MB / 0.8293 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.6035, allocations: 5.5 kB / 0.8293 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.6035, allocations: 4.125 kB / 0.8293 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000536/0.6041, allocations: 81.11 kB / 0.8294 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005052/0.6046, allocations: 136.4 kB / 0.8295 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0018/0.6064, allocations: 1.633 MB / 0.8311 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004865/0.6069, allocations: 70.62 kB / 0.8312 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.713e-05/0.607, allocations: 32.84 kB / 0.8312 GB, free: 14.15 MB / 0.6544 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.0002811/0.6072, allocations: 241.8 kB / 0.8314 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.6074, allocations: 75.28 kB / 0.8315 GB, free: 14 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001915/0.6093, allocations: 0.9597 MB / 0.8324 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.6093, allocations: 9 kB / 0.8324 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.6093, allocations: 0 / 0.8324 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.6093, allocations: 3.703 kB / 0.8325 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002642/0.612, allocations: 1.804 MB / 0.8342 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.612, allocations: 0 / 0.8342 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004801/0.6125, allocations: 135.7 kB / 0.8343 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003978/0.6129, allocations: 77.17 kB / 0.8344 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.172e-05/0.613, allocations: 21.92 kB / 0.8344 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001664/0.6146, allocations: 1.658 MB / 0.8361 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.6146, allocations: 0.9062 kB / 0.8361 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001525/0.6162, allocations: 0.8896 MB / 0.8369 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002874/0.6165, allocations: 255.4 kB / 0.8372 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.6166, allocations: 18.66 kB / 0.8372 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005379/0.6171, allocations: 59.31 kB / 0.8372 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.732e-05/0.6172, allocations: 63.48 kB / 0.8373 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.524e-05/0.6173, allocations: 29.25 kB / 0.8373 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004063/0.6177, allocations: 423.7 kB / 0.8377 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6177, allocations: 0 / 0.8377 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007057/0.6184, allocations: 280.6 kB / 0.838 GB, free: 11.62 MB / 0.6544 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.002896/0.6213, allocations: 1.932 MB / 0.8399 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001203/0.6225, allocations: 0.7114 MB / 0.8406 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.6226, allocations: 0.9062 kB / 0.8406 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007217/0.6233, allocations: 478.3 kB / 0.841 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.6244, allocations: 278.7 kB / 0.8413 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008276/0.6327, allocations: 5.777 MB / 0.847 GB, free: 8.707 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004551/0.6331, allocations: 0.9896 MB / 0.8479 GB, free: 8.004 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0006665/0.6338, allocations: 251 kB / 0.8482 GB, free: 7.965 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003872/0.6342, allocations: 343.5 kB / 0.8485 GB, free: 7.957 MB / 0.6544 GB Notification: Performance of SimCode: time 3.91e-07/0.6342, allocations: 0.75 kB / 0.8485 GB, free: 7.957 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05346/0.6877, allocations: 19.47 MB / 0.8675 GB, free: 4.32 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/12.16, allocations: 20.23 kB / 0.8675 GB, free: 4.309 MB / 0.6544 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_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_SolarHourAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)