Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/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.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="IDEAS_IDEAS_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.001058/0.001059, allocations: 108.6 kB / 15.73 MB, free: 76 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.000953/0.000953, allocations: 187.7 kB / 16.66 MB, free: 6.59 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.235/1.235, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7134/0.7134, allocations: 132.2 MB / 422.7 MB, free: 1.723 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 66.39 kB / 0.5809 GB, free: 1.141 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1335, allocations: 80.19 MB / 0.6592 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.005508/0.1391, allocations: 4.42 MB / 0.6635 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1409/0.28, allocations: 150.7 MB / 0.8106 GB, free: 2.355 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006607/0.2807, allocations: 15.94 kB / 0.8106 GB, free: 2.34 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005063/0.2812, allocations: 182.3 kB / 0.8108 GB, free: 2.16 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001401/0.2826, allocations: 498.3 kB / 0.8113 GB, free: 1.676 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00189/0.2845, allocations: 0.9007 MB / 0.8122 GB, free: 0.7812 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.3179/0.6024, allocations: 1.36 MB / 0.8135 GB, free: 3.438 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001095/0.6035, allocations: 0.7858 MB / 0.8143 GB, free: 3.309 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006935/0.6042, allocations: 0.5268 MB / 0.8148 GB, free: 3.309 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006178/0.6049, allocations: 0.577 MB / 0.8153 GB, free: 3.309 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001609/0.605, allocations: 132.5 kB / 0.8155 GB, free: 3.309 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009065/0.606, allocations: 0.514 MB / 0.816 GB, free: 3.309 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002688/0.6062, allocations: 330 kB / 0.8163 GB, free: 3.309 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004916/0.6067, allocations: 0.5954 MB / 0.8169 GB, free: 3.309 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002176/0.6089, allocations: 1.756 MB / 0.8186 GB, free: 3.215 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.6089, allocations: 1.438 kB / 0.8186 GB, free: 3.215 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6089, allocations: 0 / 0.8186 GB, free: 3.215 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.484e-05/0.609, allocations: 4.5 kB / 0.8186 GB, free: 3.215 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.00275/0.6117, allocations: 1.599 MB / 0.8201 GB, free: 2.398 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.6118, allocations: 9.688 kB / 0.8201 GB, free: 2.398 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000197/0.612, allocations: 162 kB / 0.8203 GB, free: 2.355 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005103/0.6171, allocations: 0.7559 MB / 0.821 GB, free: 2.281 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001308/0.6184, allocations: 0.8012 MB / 0.8218 GB, free: 1.969 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.688e-05/0.6185, allocations: 87.16 kB / 0.8219 GB, free: 1.961 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001607/0.6186, allocations: 100 kB / 0.822 GB, free: 1.961 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002994/0.6216, allocations: 1.368 MB / 0.8233 GB, free: 1.793 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/0.6217, allocations: 0.875 kB / 0.8233 GB, free: 1.793 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001138/0.6218, allocations: 45.12 kB / 0.8234 GB, free: 1.793 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.09e-05/0.6218, allocations: 25.97 kB / 0.8234 GB, free: 1.793 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004308/0.6261, allocations: 1.835 MB / 0.8252 GB, free: 1.777 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004994/0.6311, allocations: 3.098 MB / 0.8282 GB, free: 1.004 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002888/0.634, allocations: 1.278 MB / 0.8295 GB, free: 0.8789 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001356/0.6354, allocations: 0.5779 MB / 0.83 GB, free: 0.8711 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006165/0.636, allocations: 480.7 kB / 0.8305 GB, free: 16.4 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001613/0.6376, allocations: 0.7292 MB / 0.8312 GB, free: 16.32 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=100): time 3.126e-06/0.6377, allocations: 0 / 0.8312 GB, free: 16.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=100): time 0.005352/0.643, allocations: 1.85 MB / 0.833 GB, free: 16.11 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.553e-05/0.6431, allocations: 196.2 kB / 0.8332 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006222/0.6438, allocations: 0.6086 MB / 0.8338 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.359e-05/0.6439, allocations: 42.55 kB / 0.8338 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002467/0.6441, allocations: 434.1 kB / 0.8343 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001849/0.6443, allocations: 346.2 kB / 0.8346 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002549/0.6446, allocations: 175.4 kB / 0.8347 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.6447, allocations: 387.6 kB / 0.8351 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001247/0.646, allocations: 460.9 kB / 0.8356 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001347/0.6473, allocations: 0.5703 MB / 0.8361 GB, free: 14.87 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002521/0.6498, allocations: 1.002 MB / 0.8371 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.6499, allocations: 1.094 kB / 0.8371 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003365/0.6532, allocations: 1.248 MB / 0.8383 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.6533, allocations: 5.406 kB / 0.8383 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/0.6533, allocations: 1 kB / 0.8383 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005292/0.6538, allocations: 83.19 kB / 0.8384 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/0.655, allocations: 250 kB / 0.8386 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001834/0.6569, allocations: 1.635 MB / 0.8402 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/0.658, allocations: 154.4 kB / 0.8404 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.468e-05/0.6581, allocations: 39.27 kB / 0.8404 GB, free: 13.27 MB / 0.6544 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 (104): * Single equations (assignments): 103 * 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.0004291/0.6585, allocations: 270.4 kB / 0.8407 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001823/0.6587, allocations: 90.55 kB / 0.8408 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003872/0.6626, allocations: 1.58 MB / 0.8423 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.6626, allocations: 13.41 kB / 0.8423 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.6626, allocations: 0.9688 kB / 0.8423 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.6626, allocations: 5.672 kB / 0.8423 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005351/0.668, allocations: 2.732 MB / 0.845 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.668, allocations: 3.094 kB / 0.845 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001197/0.6692, allocations: 250.8 kB / 0.8452 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004073/0.6696, allocations: 70.48 kB / 0.8453 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.405e-05/0.6697, allocations: 33.2 kB / 0.8453 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001752/0.6715, allocations: 1.661 MB / 0.847 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.6715, allocations: 1 kB / 0.847 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003474/0.675, allocations: 1.441 MB / 0.8484 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004393/0.6754, allocations: 302.7 kB / 0.8487 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001496/0.6756, allocations: 28.56 kB / 0.8487 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/0.6766, allocations: 108.5 kB / 0.8488 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.6768, allocations: 78.88 kB / 0.8489 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.581e-05/0.6769, allocations: 41.86 kB / 0.8489 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004868/0.6774, allocations: 448 kB / 0.8493 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6774, allocations: 1.094 kB / 0.8493 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001017/0.6784, allocations: 363 kB / 0.8497 GB, free: 10.65 MB / 0.6544 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 (113): * Single equations (assignments): 110 * 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.005009/0.6834, allocations: 2.509 MB / 0.8521 GB, free: 9.812 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003201/0.6866, allocations: 1.282 MB / 0.8534 GB, free: 9.66 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.6867, allocations: 4.438 kB / 0.8534 GB, free: 9.66 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001691/0.6883, allocations: 0.7758 MB / 0.8541 GB, free: 9.535 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001258/0.6896, allocations: 290.4 kB / 0.8544 GB, free: 9.516 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01464/0.7043, allocations: 7.838 MB / 0.8621 GB, free: 7.414 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005359/0.7048, allocations: 1.06 MB / 0.8631 GB, free: 6.695 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001172/0.706, allocations: 325.8 kB / 0.8634 GB, free: 6.574 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006194/0.7066, allocations: 424.9 kB / 0.8638 GB, free: 6.566 MB / 0.6544 GB Notification: Performance of SimCode: time 1.182e-06/0.7066, allocations: 0 / 0.8638 GB, free: 6.566 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04656/0.7532, allocations: 24.07 MB / 0.8873 GB, free: 8.828 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.71/14.47, allocations: 5.125 kB / 0.8873 GB, free: 8.824 MB / 0.67 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)