Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.AltitudeAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",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.001082/0.001082, 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.001097/0.001097, allocations: 193.5 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 1.238/1.238, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7079/0.7079, allocations: 132.2 MB / 422.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 64.5 kB / 0.5019 GB, free: 3.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.321, allocations: 80.2 MB / 0.5802 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.004648/0.3257, allocations: 4.141 MB / 0.5842 GB, free: 1.625 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1467/0.4725, allocations: 150.5 MB / 0.7312 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000838/0.4734, allocations: 19.88 kB / 0.7312 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004693/0.4738, allocations: 166.5 kB / 0.7314 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001359/0.4752, allocations: 484.1 kB / 0.7318 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001944/0.4772, allocations: 0.786 MB / 0.7326 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001029/0.4782, allocations: 1.184 MB / 0.7337 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007955/0.479, allocations: 0.614 MB / 0.7343 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004227/0.4795, allocations: 426.4 kB / 0.7347 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004175/0.4799, allocations: 465.9 kB / 0.7352 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001305/0.48, allocations: 104 kB / 0.7353 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006611/0.4807, allocations: 447.6 kB / 0.7357 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002139/0.4809, allocations: 267.1 kB / 0.736 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003551/0.4813, allocations: 0.4935 MB / 0.7365 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001235/0.4825, allocations: 1.445 MB / 0.7379 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/0.4825, allocations: 0 / 0.7379 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.072e-06/0.4825, allocations: 0 / 0.7379 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.333e-05/0.4826, allocations: 0 / 0.7379 GB, free: 15.47 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001882/0.4844, allocations: 1.338 MB / 0.7392 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.4845, allocations: 16.03 kB / 0.7392 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001349/0.4846, allocations: 131.2 kB / 0.7393 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000833/0.4855, allocations: 175.5 kB / 0.7395 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008215/0.4863, allocations: 0.7032 MB / 0.7402 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.33e-05/0.4864, allocations: 62 kB / 0.7402 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-05/0.4865, allocations: 79.94 kB / 0.7403 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00126/0.4877, allocations: 0.8716 MB / 0.7412 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.4878, allocations: 3.938 kB / 0.7412 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.046e-05/0.4878, allocations: 32 kB / 0.7412 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/0.4878, allocations: 23.98 kB / 0.7412 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001529/0.4894, allocations: 1.065 MB / 0.7422 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003204/0.4926, allocations: 2.386 MB / 0.7446 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/0.4938, allocations: 0.8065 MB / 0.7454 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004518/0.4943, allocations: 274.7 kB / 0.7456 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.914e-05/0.4944, allocations: 32.67 kB / 0.7457 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007227/0.4951, allocations: 431.2 kB / 0.7461 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=73): time 1.834e-06/0.4951, allocations: 0 / 0.7461 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73): time 0.002738/0.4979, allocations: 1.081 MB / 0.7471 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.212e-05/0.4979, allocations: 192.5 kB / 0.7473 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005938/0.4985, allocations: 0.5862 MB / 0.7479 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.098e-05/0.4986, allocations: 37.7 kB / 0.7479 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002394/0.4989, allocations: 380.2 kB / 0.7483 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001564/0.499, allocations: 240.5 kB / 0.7485 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001851/0.4992, allocations: 138.2 kB / 0.7486 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.4994, allocations: 378.7 kB / 0.749 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004121/0.4998, allocations: 217.2 kB / 0.7492 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004974/0.5003, allocations: 327.6 kB / 0.7495 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009231/0.5012, allocations: 0.5324 MB / 0.75 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.5012, allocations: 4 kB / 0.75 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.00162/0.5028, allocations: 0.7236 MB / 0.7508 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.5029, allocations: 8 kB / 0.7508 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.5029, allocations: 0 / 0.7508 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000566/0.5035, allocations: 84.89 kB / 0.7508 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005477/0.504, allocations: 135.8 kB / 0.751 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00189/0.5059, allocations: 1.638 MB / 0.7526 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004976/0.5064, allocations: 75.39 kB / 0.7526 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.726e-05/0.5065, allocations: 24.05 kB / 0.7527 GB, free: 15.75 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (77): * Single equations (assignments): 76 * 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.000299/0.5068, allocations: 253.7 kB / 0.7529 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/0.5069, allocations: 79 kB / 0.753 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002123/0.5091, allocations: 1.006 MB / 0.754 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.5091, allocations: 8 kB / 0.754 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-06/0.5091, allocations: 4 kB / 0.754 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/0.5091, allocations: 7.969 kB / 0.754 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002785/0.5119, allocations: 1.869 MB / 0.7558 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.5119, allocations: 4 kB / 0.7558 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000532/0.5124, allocations: 147.8 kB / 0.756 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004164/0.5129, allocations: 72.78 kB / 0.756 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.584e-05/0.5129, allocations: 23.98 kB / 0.756 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001724/0.5147, allocations: 1.658 MB / 0.7577 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.5147, allocations: 0 / 0.7577 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001804/0.5165, allocations: 0.9257 MB / 0.7586 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003294/0.5168, allocations: 255.8 kB / 0.7588 GB, free: 9.176 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.5169, allocations: 16 kB / 0.7588 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005501/0.5175, allocations: 58.05 kB / 0.7589 GB, free: 9.105 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.5176, allocations: 64.91 kB / 0.7589 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.134e-05/0.5177, allocations: 27.98 kB / 0.759 GB, free: 9.012 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005742/0.5183, allocations: 431 kB / 0.7594 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5183, allocations: 0 / 0.7594 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009194/0.5192, allocations: 287.3 kB / 0.7597 GB, free: 8.312 MB / 0.5919 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.00325/0.5225, allocations: 1.958 MB / 0.7616 GB, free: 6.543 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002022/0.5245, allocations: 0.9189 MB / 0.7625 GB, free: 5.605 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5245, allocations: 256 / 0.7625 GB, free: 5.605 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000794/0.5253, allocations: 0.4924 MB / 0.7629 GB, free: 5.098 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.5264, allocations: 287.7 kB / 0.7632 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009526/0.536, allocations: 6.053 MB / 0.7691 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005198/0.5365, allocations: 1.011 MB / 0.7701 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007364/0.5373, allocations: 254.3 kB / 0.7704 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004525/0.5377, allocations: 359.2 kB / 0.7707 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of SimCode: time 3.51e-07/0.5377, allocations: 3.938 kB / 0.7707 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04231/0.58, allocations: 19.72 MB / 0.79 GB, free: 9.703 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.43/11.01, allocations: 13.05 kB / 0.79 GB, free: 9.691 MB / 0.6231 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_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_AltitudeAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)