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.004717/0.004717, allocations: 102.9 kB / 15.73 MB, free: 6.043 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.001242/0.001243, allocations: 193.5 kB / 16.67 MB, free: 5.961 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.317/1.317, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7769/0.7769, allocations: 132.2 MB / 422.7 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 66.8 kB / 0.5808 GB, free: 24.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1556, allocations: 80.21 MB / 0.6592 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.006805/0.1625, allocations: 4.412 MB / 0.6635 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5166/0.6791, allocations: 150.7 MB / 0.8106 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008099/0.6799, allocations: 18.38 kB / 0.8106 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005256/0.6805, allocations: 179.7 kB / 0.8108 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001351/0.6819, allocations: 488.5 kB / 0.8113 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001779/0.6837, allocations: 0.9014 MB / 0.8122 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009868/0.6847, allocations: 1.368 MB / 0.8135 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009888/0.6857, allocations: 0.7887 MB / 0.8143 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000536/0.6862, allocations: 0.5254 MB / 0.8148 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005265/0.6867, allocations: 0.581 MB / 0.8153 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001664/0.6869, allocations: 131.5 kB / 0.8155 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008263/0.6877, allocations: 0.5081 MB / 0.816 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002795/0.688, allocations: 337.4 kB / 0.8163 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004496/0.6885, allocations: 0.5963 MB / 0.8169 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001644/0.6901, allocations: 1.744 MB / 0.8186 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.6902, allocations: 0 / 0.8186 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.522e-06/0.6902, allocations: 0 / 0.8186 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.36e-05/0.6902, allocations: 0 / 0.8186 GB, free: 9.203 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: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.002738/0.6929, allocations: 1.566 MB / 0.8201 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.693, allocations: 10.78 kB / 0.8201 GB, free: 8.004 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001817/0.6932, allocations: 158.9 kB / 0.8203 GB, free: 7.871 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005014/0.6982, allocations: 0.7482 MB / 0.821 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/0.6994, allocations: 0.8026 MB / 0.8218 GB, free: 6.883 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.001e-05/0.6995, allocations: 78.91 kB / 0.8219 GB, free: 6.848 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001578/0.6996, allocations: 100.6 kB / 0.8219 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002924/0.7026, allocations: 1.366 MB / 0.8233 GB, free: 5.961 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.7026, allocations: 4 kB / 0.8233 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/0.7027, allocations: 41.53 kB / 0.8233 GB, free: 5.926 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.7028, allocations: 25.72 kB / 0.8233 GB, free: 5.926 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004101/0.7069, allocations: 1.839 MB / 0.8251 GB, free: 5.055 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005425/0.7123, allocations: 3.081 MB / 0.8282 GB, free: 2.812 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002808/0.7151, allocations: 1.292 MB / 0.8294 GB, free: 2.121 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001318/0.7164, allocations: 0.5695 MB / 0.83 GB, free: 1.84 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006298/0.7171, allocations: 476.2 kB / 0.8304 GB, free: 1.34 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00164/0.7187, allocations: 0.7333 MB / 0.8311 GB, free: 0.8828 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=100): time 2.815e-06/0.7187, allocations: 0 / 0.8311 GB, free: 0.8828 MB / 0.5919 GB Notification: Performance of matching and sorting (n=100): time 0.005363/0.7241, allocations: 1.85 MB / 0.8329 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/0.7242, allocations: 191.4 kB / 0.8331 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007832/0.725, allocations: 0.612 MB / 0.8337 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.646e-05/0.7251, allocations: 47.61 kB / 0.8338 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003486/0.7255, allocations: 419.1 kB / 0.8342 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002688/0.7258, allocations: 331.5 kB / 0.8345 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002955/0.7261, allocations: 175.3 kB / 0.8347 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.7263, allocations: 387.2 kB / 0.835 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001241/0.7275, allocations: 457.5 kB / 0.8355 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001395/0.7289, allocations: 0.57 MB / 0.836 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002548/0.7315, allocations: 1.002 MB / 0.837 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.7315, allocations: 2 kB / 0.837 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00348/0.735, allocations: 1.247 MB / 0.8382 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.735, allocations: 4.406 kB / 0.8382 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.735, allocations: 3 kB / 0.8382 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006041/0.7356, allocations: 90.05 kB / 0.8383 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/0.7369, allocations: 243 kB / 0.8385 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001928/0.7389, allocations: 1.636 MB / 0.8401 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/0.74, allocations: 141.3 kB / 0.8403 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-05/0.7401, allocations: 45.69 kB / 0.8403 GB, free: 10.66 MB / 0.6075 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.0004548/0.7405, allocations: 269.3 kB / 0.8406 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001714/0.7407, allocations: 83.03 kB / 0.8407 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004078/0.7448, allocations: 1.584 MB / 0.8422 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/0.7448, allocations: 12 kB / 0.8422 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.7448, allocations: 4 kB / 0.8422 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.7449, allocations: 3.984 kB / 0.8422 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005608/0.7505, allocations: 2.738 MB / 0.8449 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.7505, allocations: 0 / 0.8449 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001273/0.7518, allocations: 251.6 kB / 0.8451 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004525/0.7522, allocations: 76.78 kB / 0.8452 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-05/0.7523, allocations: 27.97 kB / 0.8452 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00179/0.7541, allocations: 1.662 MB / 0.8469 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.7541, allocations: 0 / 0.8469 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003649/0.7578, allocations: 1.431 MB / 0.8483 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004426/0.7583, allocations: 295.6 kB / 0.8485 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001833/0.7584, allocations: 24 kB / 0.8486 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/0.7596, allocations: 111.9 kB / 0.8487 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/0.7597, allocations: 80.77 kB / 0.8487 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.931e-05/0.7598, allocations: 43.97 kB / 0.8488 GB, free: 2 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005636/0.7604, allocations: 447 kB / 0.8492 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.503e-06/0.7604, allocations: 0 / 0.8492 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009516/0.7614, allocations: 355 kB / 0.8495 GB, free: 1.223 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 (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.005235/0.7666, allocations: 2.504 MB / 0.852 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003496/0.7701, allocations: 1.281 MB / 0.8532 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.7701, allocations: 0 / 0.8532 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001752/0.7719, allocations: 0.7735 MB / 0.854 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/0.7731, allocations: 292.6 kB / 0.8543 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01653/0.7897, allocations: 7.801 MB / 0.8619 GB, free: 4.629 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007214/0.7904, allocations: 1.063 MB / 0.8629 GB, free: 3.535 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001294/0.7917, allocations: 330 kB / 0.8633 GB, free: 3.211 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007464/0.7925, allocations: 431.2 kB / 0.8637 GB, free: 2.789 MB / 0.6231 GB Notification: Performance of SimCode: time 1.042e-06/0.7925, allocations: 0 / 0.8637 GB, free: 2.789 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05465/0.8472, allocations: 24.53 MB / 0.8876 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.43/13.27, allocations: 6.344 kB / 0.8876 GB, free: 10.55 MB / 0.6544 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)