Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",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.001037/0.001037, 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.001081/0.001081, allocations: 196.6 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 1.301/1.301, 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/NcDataReader2 2.5.1-master/package.mo): time 0.002087/0.002087, allocations: 290.5 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9314/0.9314, allocations: 169.2 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00172/0.00172, allocations: 95.78 kB / 0.5953 GB, free: 27.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1327, allocations: 86.98 MB / 0.6803 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005388/0.1381, allocations: 4.337 MB / 0.6845 GB, free: 12.26 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.391/0.5291, allocations: 150.5 MB / 0.8315 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006663/0.5298, allocations: 18.81 kB / 0.8315 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004365/0.5302, allocations: 169.5 kB / 0.8317 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001228/0.5315, allocations: 0.5025 MB / 0.8322 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001492/0.533, allocations: 0.8168 MB / 0.833 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008682/0.5339, allocations: 1.289 MB / 0.8343 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006776/0.5346, allocations: 0.6193 MB / 0.8349 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004137/0.535, allocations: 465.1 kB / 0.8353 GB, free: 476 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004147/0.5354, allocations: 497.1 kB / 0.8358 GB, free: 364 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001525/0.5356, allocations: 114.1 kB / 0.8359 GB, free: 364 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006574/0.5362, allocations: 459 kB / 0.8363 GB, free: 352 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002059/0.5364, allocations: 297.5 kB / 0.8366 GB, free: 304 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000358/0.5368, allocations: 0.5339 MB / 0.8371 GB, free: 132 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001247/0.5381, allocations: 1.562 MB / 0.8387 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.5381, allocations: 0 / 0.8387 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5381, allocations: 5.188 kB / 0.8387 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.242e-05/0.5381, allocations: 0 / 0.8387 GB, free: 15.89 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002191/0.5403, allocations: 1.415 MB / 0.84 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.5403, allocations: 11.78 kB / 0.8401 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001397/0.5405, allocations: 132.3 kB / 0.8402 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008806/0.5414, allocations: 183.3 kB / 0.8404 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008782/0.5423, allocations: 0.7371 MB / 0.8411 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.744e-05/0.5423, allocations: 68.73 kB / 0.8411 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.404e-05/0.5424, allocations: 80.66 kB / 0.8412 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/0.5438, allocations: 0.909 MB / 0.8421 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.5439, allocations: 1.562 kB / 0.8421 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.147e-05/0.5439, allocations: 35.7 kB / 0.8421 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.647e-05/0.544, allocations: 20.5 kB / 0.8422 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00165/0.5456, allocations: 1.108 MB / 0.8432 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003482/0.5491, allocations: 2.495 MB / 0.8457 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/0.5505, allocations: 0.7951 MB / 0.8465 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004934/0.551, allocations: 299.8 kB / 0.8467 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.563e-05/0.5511, allocations: 34.62 kB / 0.8468 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008/0.5519, allocations: 497.3 kB / 0.8472 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 2.114e-06/0.5519, allocations: 0 / 0.8472 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.003012/0.5549, allocations: 1.183 MB / 0.8484 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.469e-05/0.555, allocations: 202.7 kB / 0.8486 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006646/0.5557, allocations: 0.6281 MB / 0.8492 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.077e-05/0.5557, allocations: 43.42 kB / 0.8493 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002559/0.556, allocations: 391.9 kB / 0.8496 GB, free: 9.57 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/0.5562, allocations: 260.5 kB / 0.8499 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002113/0.5564, allocations: 147.5 kB / 0.85 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.5566, allocations: 390.5 kB / 0.8504 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004751/0.557, allocations: 249.1 kB / 0.8506 GB, free: 8.77 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005613/0.5576, allocations: 349.5 kB / 0.851 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009964/0.5586, allocations: 0.5798 MB / 0.8515 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.5586, allocations: 0 / 0.8515 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001745/0.5604, allocations: 0.806 MB / 0.8523 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.5604, allocations: 5.062 kB / 0.8523 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.5604, allocations: 2.438 kB / 0.8523 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005917/0.561, allocations: 79.38 kB / 0.8524 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005991/0.5616, allocations: 156.7 kB / 0.8525 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001971/0.5636, allocations: 1.63 MB / 0.8541 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006027/0.5642, allocations: 92.48 kB / 0.8542 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.743e-05/0.5643, allocations: 37.66 kB / 0.8543 GB, free: 6.066 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: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * 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.000328/0.5646, allocations: 262.5 kB / 0.8545 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/0.5648, allocations: 80.59 kB / 0.8546 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002278/0.5671, allocations: 1.068 MB / 0.8556 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.5671, allocations: 7.969 kB / 0.8556 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.5671, allocations: 4 kB / 0.8556 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.5671, allocations: 10.05 kB / 0.8556 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008635/0.568, allocations: 0.8931 MB / 0.8565 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.568, allocations: 0 / 0.8565 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005486/0.5685, allocations: 142 kB / 0.8567 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004431/0.569, allocations: 74.94 kB / 0.8567 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.198e-05/0.569, allocations: 22.67 kB / 0.8568 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001723/0.5708, allocations: 1.666 MB / 0.8584 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5708, allocations: 0 / 0.8584 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/0.5726, allocations: 0.9189 MB / 0.8593 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002979/0.5729, allocations: 275.1 kB / 0.8595 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/0.573, allocations: 17.28 kB / 0.8596 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006008/0.5736, allocations: 64.75 kB / 0.8596 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/0.5738, allocations: 73.36 kB / 0.8597 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-05/0.5739, allocations: 30.7 kB / 0.8597 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000477/0.5743, allocations: 468.8 kB / 0.8602 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5744, allocations: 0 / 0.8602 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006828/0.575, allocations: 305.1 kB / 0.8605 GB, free: 1.656 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.003202/0.5782, allocations: 1.981 MB / 0.8624 GB, free: 456 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002042/0.5803, allocations: 0.9924 MB / 0.8634 GB, free: 0 / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.5803, allocations: 112 / 0.8634 GB, free: 16 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008683/0.5812, allocations: 0.5162 MB / 0.8639 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.5823, allocations: 297.8 kB / 0.8641 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009791/0.5921, allocations: 6.435 MB / 0.8704 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004837/0.5926, allocations: 1.018 MB / 0.8714 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007409/0.5933, allocations: 268.7 kB / 0.8717 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004753/0.5938, allocations: 373.5 kB / 0.872 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of SimCode: time 2.51e-07/0.5938, allocations: 0 / 0.872 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0709/0.6647, allocations: 20.87 MB / 0.8924 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.51, allocations: 15.27 kB / 0.8924 GB, free: 7.152 MB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)