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.005264/0.005264, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001215/0.001215, allocations: 195.5 kB / 16.67 MB, free: 5.52 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.258/1.258, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7465/0.7465, allocations: 132.2 MB / 422.7 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 63.16 kB / 0.5808 GB, free: 24.01 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1412, allocations: 80.21 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.006334/0.1476, allocations: 4.407 MB / 0.6635 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4958/0.6434, allocations: 150.7 MB / 0.8106 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001025/0.6445, allocations: 19.25 kB / 0.8106 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005677/0.6451, allocations: 176 kB / 0.8108 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001256/0.6464, allocations: 486.6 kB / 0.8113 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001732/0.6481, allocations: 0.9048 MB / 0.8122 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001039/0.6492, allocations: 1.372 MB / 0.8135 GB, free: 11 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009155/0.6501, allocations: 0.7861 MB / 0.8143 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006513/0.6508, allocations: 0.5273 MB / 0.8148 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005402/0.6513, allocations: 0.5747 MB / 0.8153 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001355/0.6515, allocations: 130.5 kB / 0.8155 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008068/0.6523, allocations: 0.5078 MB / 0.816 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002495/0.6525, allocations: 336.1 kB / 0.8163 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004221/0.653, allocations: 0.5995 MB / 0.8169 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001614/0.6546, allocations: 1.743 MB / 0.8186 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.6546, allocations: 4 kB / 0.8186 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.775e-06/0.6546, allocations: 0 / 0.8186 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.375e-05/0.6546, allocations: 3.938 kB / 0.8186 GB, free: 9.234 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.002461/0.6571, allocations: 1.557 MB / 0.8201 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.6571, allocations: 10.81 kB / 0.8201 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001603/0.6573, allocations: 166.7 kB / 0.8203 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00478/0.6621, allocations: 0.7499 MB / 0.821 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001229/0.6633, allocations: 0.7993 MB / 0.8218 GB, free: 6.922 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.841e-05/0.6634, allocations: 76.97 kB / 0.8219 GB, free: 6.887 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/0.6636, allocations: 103.8 kB / 0.822 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002824/0.6664, allocations: 1.37 MB / 0.8233 GB, free: 5.992 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.355e-05/0.6664, allocations: 0 / 0.8233 GB, free: 5.992 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/0.6665, allocations: 50.03 kB / 0.8233 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.841e-05/0.6666, allocations: 24.84 kB / 0.8234 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004087/0.6706, allocations: 1.837 MB / 0.8252 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005453/0.6761, allocations: 3.094 MB / 0.8282 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002797/0.6789, allocations: 1.279 MB / 0.8294 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001281/0.6802, allocations: 0.5691 MB / 0.83 GB, free: 1.875 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006134/0.6809, allocations: 477.5 kB / 0.8304 GB, free: 1.371 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0016/0.6825, allocations: 0.7355 MB / 0.8312 GB, free: 0.9141 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=100): time 3.297e-06/0.6825, allocations: 0 / 0.8312 GB, free: 0.9141 MB / 0.5919 GB Notification: Performance of matching and sorting (n=100): time 0.005426/0.6879, allocations: 1.845 MB / 0.833 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001649/0.6881, allocations: 193.6 kB / 0.8331 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009162/0.689, allocations: 0.6129 MB / 0.8337 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.608e-05/0.6891, allocations: 42.89 kB / 0.8338 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003423/0.6895, allocations: 421.5 kB / 0.8342 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002908/0.6898, allocations: 330.5 kB / 0.8345 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003181/0.6901, allocations: 175.9 kB / 0.8347 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002049/0.6903, allocations: 388.4 kB / 0.835 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001254/0.6916, allocations: 457.4 kB / 0.8355 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001355/0.6929, allocations: 0.569 MB / 0.836 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002575/0.6955, allocations: 1.003 MB / 0.837 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.269e-06/0.6955, allocations: 0 / 0.837 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003563/0.6991, allocations: 1.252 MB / 0.8382 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.6992, allocations: 7.312 kB / 0.8382 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.6992, allocations: 2.844 kB / 0.8382 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005735/0.6997, allocations: 79.55 kB / 0.8383 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001284/0.701, allocations: 244.9 kB / 0.8386 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002462/0.7035, allocations: 1.632 MB / 0.8401 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/0.7049, allocations: 140.5 kB / 0.8403 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/0.705, allocations: 44.75 kB / 0.8403 GB, free: 10.7 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.0007051/0.7057, allocations: 269.5 kB / 0.8406 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000361/0.7061, allocations: 82.94 kB / 0.8407 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004597/0.7107, allocations: 1.584 MB / 0.8422 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/0.7107, allocations: 14.25 kB / 0.8422 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.7107, allocations: 3.938 kB / 0.8422 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/0.7107, allocations: 7.969 kB / 0.8422 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006249/0.717, allocations: 2.739 MB / 0.8449 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.717, allocations: 4 kB / 0.8449 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001277/0.7183, allocations: 247.6 kB / 0.8451 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004301/0.7188, allocations: 68.78 kB / 0.8452 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.998e-05/0.7189, allocations: 35.97 kB / 0.8452 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001936/0.7208, allocations: 1.654 MB / 0.8469 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.7208, allocations: 0 / 0.8469 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003817/0.7247, allocations: 1.435 MB / 0.8483 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005064/0.7252, allocations: 299.6 kB / 0.8485 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001884/0.7254, allocations: 24 kB / 0.8486 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/0.7265, allocations: 111.8 kB / 0.8487 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001609/0.7267, allocations: 84.83 kB / 0.8488 GB, free: 2 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/0.7268, allocations: 39.97 kB / 0.8488 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006714/0.7274, allocations: 447 kB / 0.8492 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7274, allocations: 0 / 0.8492 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001072/0.7285, allocations: 355.1 kB / 0.8496 GB, free: 1.184 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.005307/0.7338, allocations: 2.498 MB / 0.852 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003412/0.7373, allocations: 1.277 MB / 0.8532 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.768e-06/0.7373, allocations: 0 / 0.8532 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001832/0.7391, allocations: 0.7758 MB / 0.854 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/0.7405, allocations: 302.5 kB / 0.8543 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0185/0.759, allocations: 7.806 MB / 0.8619 GB, free: 4.594 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000801/0.7598, allocations: 1.063 MB / 0.863 GB, free: 3.5 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001317/0.7612, allocations: 327.2 kB / 0.8633 GB, free: 3.176 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007709/0.762, allocations: 427.2 kB / 0.8637 GB, free: 2.758 MB / 0.6231 GB Notification: Performance of SimCode: time 9.22e-07/0.762, allocations: 0 / 0.8637 GB, free: 2.758 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06085/0.8228, allocations: 24.06 MB / 0.8872 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/13, allocations: 6.406 kB / 0.8872 GB, free: 10.98 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)