Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="IBPSA_latest_IBPSA_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.001178/0.001178, allocations: 101.9 kB / 16.27 MB, free: 5.93 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.001136/0.001136, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.172/1.172, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6754/0.6754, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 55.91 kB / 0.4912 GB, free: 7.336 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2602, allocations: 77.93 MB / 0.5673 GB, free: 32.91 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.005189/0.2654, allocations: 5.374 MB / 0.5725 GB, free: 29.06 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1327/0.3981, allocations: 150.8 MB / 0.7198 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009715/0.3992, allocations: 19.88 kB / 0.7199 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00069/0.3999, allocations: 213.9 kB / 0.7201 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002009/0.4019, allocations: 0.5803 MB / 0.7206 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002212/0.4042, allocations: 0.9387 MB / 0.7215 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0016/0.4058, allocations: 1.612 MB / 0.7231 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009438/0.4067, allocations: 0.7435 MB / 0.7238 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007077/0.4074, allocations: 0.5802 MB / 0.7244 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006973/0.4081, allocations: 0.6496 MB / 0.725 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001767/0.4083, allocations: 140 kB / 0.7252 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008051/0.4091, allocations: 0.4996 MB / 0.7257 GB, free: 8.035 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002879/0.4094, allocations: 370.8 kB / 0.726 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005271/0.41, allocations: 0.6647 MB / 0.7267 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001582/0.4116, allocations: 1.873 MB / 0.7285 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.4116, allocations: 0 / 0.7285 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.485e-06/0.4116, allocations: 3.984 kB / 0.7285 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.197e-05/0.4116, allocations: 0 / 0.7285 GB, free: 5.121 MB / 0.5606 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.002788/0.4144, allocations: 1.676 MB / 0.7301 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.4144, allocations: 12.62 kB / 0.7302 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001738/0.4146, allocations: 165.1 kB / 0.7303 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005062/0.4197, allocations: 0.7561 MB / 0.731 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.4207, allocations: 0.8122 MB / 0.7318 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.887e-05/0.4208, allocations: 82.2 kB / 0.7319 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/0.4209, allocations: 111.9 kB / 0.732 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002923/0.4238, allocations: 1.428 MB / 0.7334 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.4239, allocations: 8 kB / 0.7334 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/0.424, allocations: 44 kB / 0.7335 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.861e-05/0.424, allocations: 31.94 kB / 0.7335 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00446/0.4285, allocations: 1.882 MB / 0.7353 GB, free: 13.94 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005556/0.434, allocations: 3.55 MB / 0.7388 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003293/0.4374, allocations: 1.382 MB / 0.7402 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001493/0.4389, allocations: 0.598 MB / 0.7407 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005984/0.4395, allocations: 478.5 kB / 0.7412 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001808/0.4413, allocations: 0.8166 MB / 0.742 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=109): time 2.355e-06/0.4413, allocations: 0 / 0.742 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of matching and sorting (n=109): time 0.005965/0.4473, allocations: 1.969 MB / 0.7439 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.666e-05/0.4474, allocations: 192.9 kB / 0.7441 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007166/0.4481, allocations: 0.6529 MB / 0.7447 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.635e-05/0.4482, allocations: 49.64 kB / 0.7448 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002777/0.4485, allocations: 440.5 kB / 0.7452 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002652/0.4487, allocations: 354.8 kB / 0.7455 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003017/0.4491, allocations: 190.5 kB / 0.7457 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.4492, allocations: 394.7 kB / 0.7461 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001453/0.4507, allocations: 493.7 kB / 0.7466 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001551/0.4522, allocations: 0.6125 MB / 0.7472 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002934/0.4552, allocations: 1.058 MB / 0.7482 GB, free: 332 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4552, allocations: 0 / 0.7482 GB, free: 332 kB / 0.5762 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.1858/0.641, allocations: 1.319 MB / 0.7495 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.6411, allocations: 5.875 kB / 0.7495 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.6411, allocations: 4.453 kB / 0.7495 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005713/0.6416, allocations: 85.83 kB / 0.7496 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/0.643, allocations: 259.9 kB / 0.7498 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001733/0.6447, allocations: 1.632 MB / 0.7514 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/0.6459, allocations: 162.5 kB / 0.7516 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.908e-05/0.646, allocations: 43.27 kB / 0.7516 GB, free: 169.5 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.0004213/0.6465, allocations: 292.7 kB / 0.7519 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001788/0.6467, allocations: 91.58 kB / 0.752 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004437/0.6511, allocations: 1.68 MB / 0.7536 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.6511, allocations: 13.66 kB / 0.7536 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.6511, allocations: 5.969 kB / 0.7536 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/0.6512, allocations: 7.266 kB / 0.7537 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005425/0.6566, allocations: 2.801 MB / 0.7564 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.6566, allocations: 0 / 0.7564 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001275/0.6579, allocations: 253.3 kB / 0.7566 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004088/0.6583, allocations: 77.22 kB / 0.7567 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.681e-05/0.6584, allocations: 35.03 kB / 0.7567 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001389/0.6598, allocations: 1.659 MB / 0.7584 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.6598, allocations: 5.594 kB / 0.7584 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003717/0.6635, allocations: 1.525 MB / 0.7598 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000352/0.6639, allocations: 316 kB / 0.7602 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001525/0.664, allocations: 27.23 kB / 0.7602 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/0.6652, allocations: 129.2 kB / 0.7603 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001629/0.6654, allocations: 86.5 kB / 0.7604 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.343e-05/0.6655, allocations: 49.7 kB / 0.7604 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004974/0.666, allocations: 470.9 kB / 0.7609 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.81e-07/0.666, allocations: 0 / 0.7609 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008636/0.6669, allocations: 401.9 kB / 0.7613 GB, free: 164.8 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.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.004981/0.6719, allocations: 2.613 MB / 0.7638 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00424/0.6761, allocations: 1.622 MB / 0.7654 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.6761, allocations: 2.219 kB / 0.7654 GB, free: 163.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001765/0.6779, allocations: 0.8215 MB / 0.7662 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.6791, allocations: 325.4 kB / 0.7665 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01429/0.6934, allocations: 8.473 MB / 0.7748 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004356/0.6939, allocations: 1.085 MB / 0.7758 GB, free: 157 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001288/0.6951, allocations: 346.4 kB / 0.7762 GB, free: 156.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005794/0.6957, allocations: 464.7 kB / 0.7766 GB, free: 156.4 MB / 0.5762 GB Notification: Performance of SimCode: time 2.11e-07/0.6957, allocations: 0 / 0.7766 GB, free: 156.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04016/0.7359, allocations: 25.3 MB / 0.8013 GB, free: 132.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.39/11.12, allocations: 6.062 kB / 0.8013 GB, free: 132.7 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)