Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.IncidenceAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IDEAS_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.005455/0.005455, allocations: 100.9 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.001281/0.001281, allocations: 195.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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8406/0.8406, allocations: 132.2 MB / 422.7 MB, free: 6.5 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 66.88 kB / 0.5809 GB, free: 24.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1295, allocations: 80.21 MB / 0.6592 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006068/0.1356, allocations: 4.165 MB / 0.6633 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4456/0.5812, allocations: 150.7 MB / 0.8104 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006168/0.5819, allocations: 17.56 kB / 0.8104 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005615/0.5825, allocations: 166.6 kB / 0.8105 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001466/0.584, allocations: 496.8 kB / 0.811 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001667/0.5857, allocations: 0.7876 MB / 0.8118 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001181/0.5869, allocations: 1.217 MB / 0.813 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007291/0.5876, allocations: 0.6182 MB / 0.8136 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004503/0.5881, allocations: 448.3 kB / 0.814 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004658/0.5885, allocations: 461.6 kB / 0.8145 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001336/0.5887, allocations: 104.5 kB / 0.8146 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007266/0.5894, allocations: 475.7 kB / 0.815 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002191/0.5896, allocations: 275.4 kB / 0.8153 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003712/0.59, allocations: 0.5038 MB / 0.8158 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001443/0.5915, allocations: 1.518 MB / 0.8172 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.175e-06/0.5915, allocations: 2.875 kB / 0.8172 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5915, allocations: 4 kB / 0.8172 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.5915, allocations: 0 / 0.8172 GB, free: 9.719 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.002114/0.5936, allocations: 1.385 MB / 0.8186 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.5937, allocations: 10.25 kB / 0.8186 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001411/0.5938, allocations: 132.6 kB / 0.8187 GB, free: 8.699 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008906/0.5947, allocations: 179.6 kB / 0.8189 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.5958, allocations: 0.7415 MB / 0.8196 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.063e-05/0.5959, allocations: 62.69 kB / 0.8197 GB, free: 7.98 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.314e-05/0.596, allocations: 82.36 kB / 0.8198 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/0.5974, allocations: 0.8839 MB / 0.8206 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.5975, allocations: 0 / 0.8206 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.309e-05/0.5976, allocations: 35.69 kB / 0.8207 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/0.5976, allocations: 20.03 kB / 0.8207 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001716/0.5993, allocations: 1.095 MB / 0.8218 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003766/0.6031, allocations: 2.475 MB / 0.8242 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001286/0.6044, allocations: 0.7344 MB / 0.8249 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005034/0.6049, allocations: 289.3 kB / 0.8252 GB, free: 4.453 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.908e-05/0.605, allocations: 36.94 kB / 0.8252 GB, free: 4.438 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007801/0.6058, allocations: 442 kB / 0.8256 GB, free: 4.156 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 1.884e-06/0.6058, allocations: 3.938 kB / 0.8256 GB, free: 4.152 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.003021/0.6088, allocations: 1.119 MB / 0.8267 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/0.6089, allocations: 187.3 kB / 0.8269 GB, free: 3.32 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007/0.6096, allocations: 0.5962 MB / 0.8275 GB, free: 2.973 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.359e-05/0.6097, allocations: 36.14 kB / 0.8275 GB, free: 2.934 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003291/0.6101, allocations: 396.3 kB / 0.8279 GB, free: 2.586 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002233/0.6103, allocations: 266.3 kB / 0.8281 GB, free: 2.359 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002188/0.6105, allocations: 146.9 kB / 0.8283 GB, free: 2.27 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002076/0.6107, allocations: 382.1 kB / 0.8287 GB, free: 1.902 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000471/0.6112, allocations: 229.5 kB / 0.8289 GB, free: 1.789 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005895/0.6118, allocations: 341.2 kB / 0.8292 GB, free: 1.566 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.6129, allocations: 0.5575 MB / 0.8297 GB, free: 1.262 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.6129, allocations: 0 / 0.8297 GB, free: 1.262 MB / 0.5919 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001786/0.6147, allocations: 0.761 MB / 0.8305 GB, free: 0.8711 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.6147, allocations: 7.406 kB / 0.8305 GB, free: 0.8711 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.6147, allocations: 0 / 0.8305 GB, free: 0.8711 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005855/0.6153, allocations: 83.52 kB / 0.8306 GB, free: 0.8281 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000603/0.6159, allocations: 148.5 kB / 0.8307 GB, free: 0.793 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002204/0.6181, allocations: 1.628 MB / 0.8323 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005455/0.6187, allocations: 74.66 kB / 0.8324 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-05/0.6187, allocations: 32.78 kB / 0.8324 GB, free: 15.13 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 (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.0003351/0.6191, allocations: 257.2 kB / 0.8327 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/0.6192, allocations: 88.84 kB / 0.8327 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002344/0.6216, allocations: 1.028 MB / 0.8337 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.6216, allocations: 10.06 kB / 0.8337 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.6216, allocations: 0 / 0.8337 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/0.6216, allocations: 3.984 kB / 0.8338 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003112/0.6248, allocations: 1.885 MB / 0.8356 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.6248, allocations: 1.875 kB / 0.8356 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005668/0.6253, allocations: 149.6 kB / 0.8357 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004495/0.6258, allocations: 78.34 kB / 0.8358 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.315e-05/0.6259, allocations: 27.86 kB / 0.8358 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002023/0.6279, allocations: 1.653 MB / 0.8375 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.6279, allocations: 3.938 kB / 0.8375 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001843/0.6298, allocations: 0.9341 MB / 0.8384 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003203/0.6301, allocations: 266.2 kB / 0.8386 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.6302, allocations: 16.75 kB / 0.8386 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005782/0.6308, allocations: 61.38 kB / 0.8387 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.6309, allocations: 62.38 kB / 0.8388 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-05/0.631, allocations: 32.42 kB / 0.8388 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005049/0.6315, allocations: 444 kB / 0.8392 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6315, allocations: 0 / 0.8392 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006879/0.6322, allocations: 291.7 kB / 0.8395 GB, free: 10.13 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 (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.003908/0.6361, allocations: 1.979 MB / 0.8414 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001489/0.6376, allocations: 0.7621 MB / 0.8422 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.6377, allocations: 0 / 0.8422 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008682/0.6385, allocations: 0.489 MB / 0.8426 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.6397, allocations: 299.1 kB / 0.8429 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01086/0.6506, allocations: 6.077 MB / 0.8489 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000662/0.6513, allocations: 1.003 MB / 0.8498 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000729/0.652, allocations: 257.5 kB / 0.8501 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005462/0.6526, allocations: 355.3 kB / 0.8504 GB, free: 316 kB / 0.6075 GB Notification: Performance of SimCode: time 2.104e-06/0.6526, allocations: 4 kB / 0.8504 GB, free: 312 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05362/0.7062, allocations: 20.41 MB / 0.8704 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.88/13.59, allocations: 4.062 kB / 0.8704 GB, free: 12.17 MB / 0.6387 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)