Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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.BrighteningCoefficient,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",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.001148/0.001148, 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.001698/0.001698, allocations: 193.7 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.291/1.291, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002067/0.002067, allocations: 295 kB / 290.7 MB, free: 2.023 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9344/0.9344, allocations: 169.2 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 99.22 kB / 0.5953 GB, free: 27.87 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1308, allocations: 86.97 MB / 0.6803 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.005722/0.1366, allocations: 4.638 MB / 0.6848 GB, free: 11.94 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3931/0.5298, allocations: 150.7 MB / 0.832 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006428/0.5304, allocations: 15.84 kB / 0.832 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004435/0.5309, allocations: 187.1 kB / 0.8322 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001254/0.5322, allocations: 0.5148 MB / 0.8327 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001611/0.5338, allocations: 0.9387 MB / 0.8336 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009793/0.5348, allocations: 1.494 MB / 0.8351 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008512/0.5356, allocations: 0.7887 MB / 0.8359 GB, free: 440 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005028/0.5362, allocations: 0.5703 MB / 0.8364 GB, free: 332 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005252/0.5367, allocations: 0.6252 MB / 0.837 GB, free: 196 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001836/0.5369, allocations: 142.9 kB / 0.8372 GB, free: 196 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007149/0.5376, allocations: 0.4981 MB / 0.8377 GB, free: 180 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000231/0.5378, allocations: 363.8 kB / 0.838 GB, free: 124 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004322/0.5383, allocations: 0.6466 MB / 0.8386 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001428/0.5397, allocations: 1.828 MB / 0.8404 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.5397, allocations: 7.922 kB / 0.8404 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.112e-06/0.5397, allocations: 1.656 kB / 0.8404 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.437e-05/0.5398, allocations: 0 / 0.8404 GB, free: 15.65 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: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.002814/0.5426, allocations: 1.663 MB / 0.8421 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.5426, allocations: 9.969 kB / 0.8421 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001758/0.5428, allocations: 171.3 kB / 0.8422 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005298/0.5481, allocations: 0.7519 MB / 0.843 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.5492, allocations: 0.8082 MB / 0.8437 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.368e-05/0.5492, allocations: 89.45 kB / 0.8438 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001477/0.5494, allocations: 105.1 kB / 0.8439 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002999/0.5524, allocations: 1.441 MB / 0.8453 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/0.5524, allocations: 3 kB / 0.8453 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001204/0.5525, allocations: 45.75 kB / 0.8454 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.638e-05/0.5526, allocations: 25.41 kB / 0.8454 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004519/0.5571, allocations: 1.887 MB / 0.8473 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005561/0.5627, allocations: 3.274 MB / 0.8505 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003272/0.5659, allocations: 1.373 MB / 0.8518 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001484/0.5674, allocations: 0.6 MB / 0.8524 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006154/0.5681, allocations: 481.6 kB / 0.8528 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001828/0.5699, allocations: 0.8072 MB / 0.8536 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=109): time 3.085e-06/0.5699, allocations: 0 / 0.8536 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of matching and sorting (n=109): time 0.005951/0.5759, allocations: 1.968 MB / 0.8555 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.455e-05/0.576, allocations: 193.2 kB / 0.8557 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006801/0.5767, allocations: 0.647 MB / 0.8564 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.69e-05/0.5768, allocations: 47.52 kB / 0.8564 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002818/0.577, allocations: 447.6 kB / 0.8568 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002512/0.5773, allocations: 357 kB / 0.8572 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003078/0.5776, allocations: 190.6 kB / 0.8574 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.5778, allocations: 391.4 kB / 0.8577 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001424/0.5792, allocations: 496.1 kB / 0.8582 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001529/0.5807, allocations: 0.6095 MB / 0.8588 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002872/0.5836, allocations: 1.056 MB / 0.8598 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.5836, allocations: 0 / 0.8598 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003737/0.5874, allocations: 1.317 MB / 0.8611 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.5874, allocations: 5.281 kB / 0.8611 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.5874, allocations: 6.406 kB / 0.8611 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005753/0.588, allocations: 83.92 kB / 0.8612 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001339/0.5894, allocations: 263.6 kB / 0.8615 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001884/0.5912, allocations: 1.636 MB / 0.8631 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/0.5925, allocations: 166.4 kB / 0.8632 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-05/0.5926, allocations: 43.5 kB / 0.8633 GB, free: 0.9648 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (116): * Single equations (assignments): 115 * 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.0003885/0.5929, allocations: 281.9 kB / 0.8635 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001882/0.5931, allocations: 104.3 kB / 0.8636 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004485/0.5976, allocations: 1.672 MB / 0.8653 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.5977, allocations: 12.34 kB / 0.8653 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.5977, allocations: 0 / 0.8653 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.282e-05/0.5977, allocations: 14.03 kB / 0.8653 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005748/0.6034, allocations: 2.851 MB / 0.8681 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.6035, allocations: 0 / 0.8681 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001298/0.6048, allocations: 257.8 kB / 0.8683 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004292/0.6052, allocations: 73.59 kB / 0.8684 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.289e-05/0.6053, allocations: 34.16 kB / 0.8684 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001722/0.607, allocations: 1.652 MB / 0.87 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.607, allocations: 8 kB / 0.87 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003865/0.6109, allocations: 1.522 MB / 0.8715 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000417/0.6113, allocations: 321 kB / 0.8718 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001668/0.6115, allocations: 30.84 kB / 0.8719 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/0.6128, allocations: 123.6 kB / 0.872 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001568/0.6129, allocations: 87.72 kB / 0.8721 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.459e-05/0.613, allocations: 43.53 kB / 0.8721 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004965/0.6135, allocations: 474.5 kB / 0.8726 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6135, allocations: 0 / 0.8726 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008798/0.6144, allocations: 382.4 kB / 0.8729 GB, free: 10.64 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: 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.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 116 * 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.005387/0.6198, allocations: 2.603 MB / 0.8755 GB, free: 8.477 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004597/0.6244, allocations: 1.62 MB / 0.877 GB, free: 6.848 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.6244, allocations: 4 kB / 0.877 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001919/0.6264, allocations: 0.8222 MB / 0.8779 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/0.6276, allocations: 308 kB / 0.8781 GB, free: 5.738 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01678/0.6444, allocations: 8.576 MB / 0.8865 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005669/0.645, allocations: 1.083 MB / 0.8876 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00136/0.6463, allocations: 339.7 kB / 0.8879 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007195/0.6471, allocations: 475.2 kB / 0.8884 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.6471, allocations: 0 / 0.8884 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04954/0.6966, allocations: 25.26 MB / 0.913 GB, free: 2.234 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.55, allocations: 16.19 kB / 0.913 GB, free: 2.223 MB / 0.6231 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_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_BrighteningCoefficient.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)