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.004222/0.004222, allocations: 101.3 kB / 15.88 MB, free: 6.312 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.001158/0.001158, allocations: 195.2 kB / 16.79 MB, free: 6.242 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.189/1.189, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.618/0.618, allocations: 115.3 MB / 406 MB, free: 2.754 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 67.31 kB / 493 MB, free: 6.672 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1154, allocations: 76.18 MB / 0.5559 GB, free: 10.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.006231/0.1217, allocations: 5.355 MB / 0.5611 GB, free: 5.305 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3297/0.4514, allocations: 148.5 MB / 0.7061 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008203/0.4523, allocations: 15.94 kB / 0.7062 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006729/0.453, allocations: 165.3 kB / 0.7063 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001491/0.4545, allocations: 496.6 kB / 0.7068 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001688/0.4562, allocations: 0.8166 MB / 0.7076 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001126/0.4573, allocations: 1.515 MB / 0.7091 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008525/0.4582, allocations: 0.7143 MB / 0.7098 GB, free: 9.051 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004839/0.4587, allocations: 0.5214 MB / 0.7103 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005405/0.4592, allocations: 0.6067 MB / 0.7109 GB, free: 7.918 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001383/0.4594, allocations: 75.75 kB / 0.7109 GB, free: 7.848 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006656/0.46, allocations: 447.2 kB / 0.7114 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000249/0.4603, allocations: 290.8 kB / 0.7116 GB, free: 7.133 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004748/0.4608, allocations: 0.6061 MB / 0.7122 GB, free: 6.523 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001452/0.4622, allocations: 1.806 MB / 0.714 GB, free: 4.715 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.4623, allocations: 0 / 0.714 GB, free: 4.715 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.12e-07/0.4623, allocations: 4 kB / 0.714 GB, free: 4.711 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.848e-06/0.4623, allocations: 4 kB / 0.714 GB, free: 4.707 MB / 0.5294 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.002744/0.465, allocations: 1.669 MB / 0.7156 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.4651, allocations: 8.031 kB / 0.7156 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001796/0.4653, allocations: 173.1 kB / 0.7158 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005003/0.4703, allocations: 0.76 MB / 0.7165 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009885/0.4713, allocations: 0.8125 MB / 0.7173 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.235e-05/0.4713, allocations: 82.2 kB / 0.7174 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001372/0.4715, allocations: 104 kB / 0.7175 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002942/0.4744, allocations: 1.434 MB / 0.7189 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.4745, allocations: 0 / 0.7189 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/0.4746, allocations: 48 kB / 0.719 GB, free: 15.45 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.913e-05/0.4746, allocations: 27.94 kB / 0.719 GB, free: 15.42 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004292/0.4789, allocations: 1.889 MB / 0.7208 GB, free: 13.52 MB / 0.545 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.005468/0.4844, allocations: 3.53 MB / 0.7243 GB, free: 9.863 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003053/0.4874, allocations: 1.382 MB / 0.7256 GB, free: 8.457 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001374/0.4888, allocations: 0.6025 MB / 0.7262 GB, free: 7.855 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006049/0.4894, allocations: 486.5 kB / 0.7267 GB, free: 7.289 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00176/0.4912, allocations: 0.801 MB / 0.7275 GB, free: 6.465 MB / 0.545 GB Notification: Performance of pre-optimization done (n=109): time 2.174e-06/0.4912, allocations: 0 / 0.7275 GB, free: 6.465 MB / 0.545 GB Notification: Performance of matching and sorting (n=109): time 0.005511/0.4967, allocations: 1.981 MB / 0.7294 GB, free: 4.461 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.495e-05/0.4968, allocations: 188.9 kB / 0.7296 GB, free: 4.23 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006917/0.4975, allocations: 0.6528 MB / 0.7302 GB, free: 3.57 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.163e-05/0.4976, allocations: 49.7 kB / 0.7303 GB, free: 3.516 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002741/0.4979, allocations: 432.6 kB / 0.7307 GB, free: 3.086 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000245/0.4982, allocations: 354.8 kB / 0.731 GB, free: 2.734 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002978/0.4985, allocations: 194.5 kB / 0.7312 GB, free: 2.539 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.4986, allocations: 394.7 kB / 0.7316 GB, free: 2.145 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001331/0.5, allocations: 496.1 kB / 0.7321 GB, free: 1.664 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001415/0.5014, allocations: 0.6047 MB / 0.7326 GB, free: 1.027 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002681/0.5041, allocations: 1.067 MB / 0.7337 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.5041, allocations: 3.938 kB / 0.7337 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003482/0.5076, allocations: 1.329 MB / 0.735 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.5076, allocations: 11.98 kB / 0.735 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.5076, allocations: 0 / 0.735 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005526/0.5082, allocations: 84.84 kB / 0.7351 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/0.5094, allocations: 263.6 kB / 0.7353 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001792/0.5112, allocations: 1.525 MB / 0.7368 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/0.5124, allocations: 157.2 kB / 0.737 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.682e-05/0.5125, allocations: 39.97 kB / 0.737 GB, free: 12.39 MB / 0.5606 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.0003932/0.5129, allocations: 290.5 kB / 0.7373 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001824/0.5131, allocations: 98.77 kB / 0.7374 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004219/0.5173, allocations: 1.677 MB / 0.739 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.5173, allocations: 12 kB / 0.739 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.5173, allocations: 0 / 0.739 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.5173, allocations: 7.984 kB / 0.739 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005053/0.5224, allocations: 2.805 MB / 0.7418 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.5224, allocations: 3.984 kB / 0.7418 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00122/0.5236, allocations: 247.6 kB / 0.742 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004626/0.5241, allocations: 88.77 kB / 0.7421 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.142e-05/0.5242, allocations: 35.91 kB / 0.7421 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001616/0.5258, allocations: 1.555 MB / 0.7437 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.5258, allocations: 0 / 0.7437 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003571/0.5294, allocations: 1.535 MB / 0.7452 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003798/0.5298, allocations: 315.5 kB / 0.7455 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001532/0.53, allocations: 27.91 kB / 0.7455 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/0.5311, allocations: 127.9 kB / 0.7456 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001641/0.5313, allocations: 84.88 kB / 0.7457 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-05/0.5314, allocations: 47.91 kB / 0.7457 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00051/0.5319, allocations: 475 kB / 0.7462 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5319, allocations: 0 / 0.7462 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008564/0.5327, allocations: 399 kB / 0.7466 GB, free: 2.348 MB / 0.5606 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.004923/0.5377, allocations: 2.603 MB / 0.7491 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00313/0.5408, allocations: 1.354 MB / 0.7504 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.5408, allocations: 0 / 0.7504 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001722/0.5426, allocations: 0.8241 MB / 0.7512 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/0.5437, allocations: 288 kB / 0.7515 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01603/0.5598, allocations: 8.974 MB / 0.7603 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005277/0.5603, allocations: 1.084 MB / 0.7613 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001288/0.5616, allocations: 335.9 kB / 0.7616 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006826/0.5623, allocations: 471.2 kB / 0.7621 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of SimCode: time 2.4e-07/0.5623, allocations: 0 / 0.7621 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6617/1.224, allocations: 24.41 MB / 0.7859 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002367/1.224, allocations: 325.4 kB / 0.7863 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.325/3.549, allocations: 0 / 0.7863 GB, free: 10.02 MB / 0.6075 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)