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.0008754/0.0008755, allocations: 99.05 kB / 16.02 MB, free: 80 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.0009102/0.0009102, allocations: 181.4 kB / 16.92 MB, free: 6.777 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.207/1.207, allocations: 223.3 MB / 241 MB, free: 5.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6197/0.6197, allocations: 115.5 MB / 407.6 MB, free: 2.668 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002549/0.0002549, allocations: 11.98 kB / 496 MB, free: 6.258 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1142, allocations: 77.53 MB / 0.56 GB, free: 8.93 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.005007/0.1193, allocations: 4.928 MB / 0.5649 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3475/0.4668, allocations: 146.9 MB / 0.7083 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006733/0.4675, allocations: 19.88 kB / 0.7084 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005397/0.468, allocations: 162.8 kB / 0.7085 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001525/0.4696, allocations: 485.6 kB / 0.709 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00171/0.4713, allocations: 0.8246 MB / 0.7098 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001479/0.4728, allocations: 1.507 MB / 0.7113 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000941/0.4737, allocations: 0.7172 MB / 0.712 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005962/0.4743, allocations: 426 kB / 0.7124 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000616/0.475, allocations: 0.4975 MB / 0.7128 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001257/0.4751, allocations: 36 kB / 0.7129 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007137/0.4758, allocations: 399.6 kB / 0.7133 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002172/0.476, allocations: 230.9 kB / 0.7135 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004673/0.4765, allocations: 0.5569 MB / 0.714 GB, free: 8.852 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001559/0.4781, allocations: 1.748 MB / 0.7157 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.4781, allocations: 0 / 0.7157 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.302e-06/0.4781, allocations: 0 / 0.7157 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.04e-05/0.4781, allocations: 0 / 0.7157 GB, free: 7.102 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.002688/0.4808, allocations: 1.416 MB / 0.7171 GB, free: 5.637 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.4809, allocations: 11.97 kB / 0.7171 GB, free: 5.625 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00021/0.4811, allocations: 169.1 kB / 0.7173 GB, free: 5.449 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005023/0.4861, allocations: 0.8264 MB / 0.7181 GB, free: 4.621 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/0.4872, allocations: 0.8046 MB / 0.7189 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.439e-05/0.4873, allocations: 82.2 kB / 0.719 GB, free: 3.688 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001689/0.4875, allocations: 111.9 kB / 0.7191 GB, free: 3.578 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003077/0.4906, allocations: 1.463 MB / 0.7205 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.4906, allocations: 0 / 0.7205 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001206/0.4907, allocations: 48 kB / 0.7205 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.662e-05/0.4907, allocations: 28 kB / 0.7206 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004504/0.4952, allocations: 1.94 MB / 0.7225 GB, free: 24 kB / 0.5294 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.005771/0.501, allocations: 3.572 MB / 0.726 GB, free: 12.32 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003221/0.5043, allocations: 1.386 MB / 0.7273 GB, free: 10.91 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00148/0.5058, allocations: 0.614 MB / 0.7279 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006106/0.5064, allocations: 482.6 kB / 0.7284 GB, free: 9.738 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001786/0.5082, allocations: 0.8203 MB / 0.7292 GB, free: 8.895 MB / 0.545 GB Notification: Performance of pre-optimization done (n=109): time 2.344e-06/0.5082, allocations: 0 / 0.7292 GB, free: 8.895 MB / 0.545 GB Notification: Performance of matching and sorting (n=109): time 0.005834/0.514, allocations: 1.996 MB / 0.7311 GB, free: 6.875 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.315e-05/0.5141, allocations: 204.9 kB / 0.7313 GB, free: 6.629 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007572/0.5149, allocations: 0.6412 MB / 0.7319 GB, free: 5.98 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.94e-05/0.515, allocations: 45.7 kB / 0.732 GB, free: 5.93 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003015/0.5153, allocations: 448.5 kB / 0.7324 GB, free: 5.484 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002776/0.5156, allocations: 350.9 kB / 0.7327 GB, free: 5.137 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.5157, allocations: 77.67 kB / 0.7328 GB, free: 5.055 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.5159, allocations: 402.6 kB / 0.7332 GB, free: 4.652 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001382/0.5173, allocations: 0.4899 MB / 0.7337 GB, free: 4.164 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001471/0.5187, allocations: 0.6164 MB / 0.7343 GB, free: 3.52 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002821/0.5216, allocations: 1.074 MB / 0.7353 GB, free: 2.43 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.5216, allocations: 0 / 0.7353 GB, free: 2.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00366/0.5253, allocations: 1.341 MB / 0.7366 GB, free: 1.078 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.5253, allocations: 8.125 kB / 0.7366 GB, free: 1.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.5253, allocations: 0 / 0.7366 GB, free: 1.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005575/0.5259, allocations: 84.78 kB / 0.7367 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/0.5272, allocations: 263.6 kB / 0.737 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001977/0.5292, allocations: 1.533 MB / 0.7385 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/0.5304, allocations: 171 kB / 0.7386 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.643e-05/0.5305, allocations: 48.5 kB / 0.7387 GB, free: 14.84 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.0004536/0.5309, allocations: 290.2 kB / 0.739 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001683/0.5311, allocations: 90.88 kB / 0.739 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004463/0.5356, allocations: 1.699 MB / 0.7407 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.5356, allocations: 12 kB / 0.7407 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.5356, allocations: 0 / 0.7407 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.5356, allocations: 3.984 kB / 0.7407 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005464/0.5411, allocations: 2.821 MB / 0.7435 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.5411, allocations: 0 / 0.7435 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001223/0.5424, allocations: 251.6 kB / 0.7437 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004769/0.5428, allocations: 96.7 kB / 0.7438 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.753e-05/0.5429, allocations: 39.91 kB / 0.7438 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001658/0.5446, allocations: 1.544 MB / 0.7454 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5446, allocations: 0 / 0.7454 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003859/0.5485, allocations: 1.554 MB / 0.7469 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004603/0.5489, allocations: 335.5 kB / 0.7472 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001548/0.5491, allocations: 20 kB / 0.7472 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001242/0.5504, allocations: 148.9 kB / 0.7474 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/0.5505, allocations: 88.81 kB / 0.7474 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.454e-05/0.5506, allocations: 47.97 kB / 0.7475 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005778/0.5512, allocations: 479 kB / 0.7479 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5512, allocations: 0 / 0.7479 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009942/0.5522, allocations: 399 kB / 0.7483 GB, free: 4.707 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.005313/0.5575, allocations: 2.621 MB / 0.7509 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003424/0.561, allocations: 1.37 MB / 0.7522 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.561, allocations: 0 / 0.7522 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001834/0.5628, allocations: 0.832 MB / 0.753 GB, free: 28 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001288/0.5641, allocations: 286.4 kB / 0.7533 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01729/0.5814, allocations: 9.02 MB / 0.7621 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006644/0.5821, allocations: 1.088 MB / 0.7632 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00141/0.5836, allocations: 339.8 kB / 0.7635 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007361/0.5843, allocations: 471.2 kB / 0.7639 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of SimCode: time 6.52e-07/0.5843, allocations: 0 / 0.7639 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.851/2.436, allocations: 24.09 MB / 0.7875 GB, free: 13 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002689/2.436, allocations: 330.6 kB / 0.7878 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.297/4.734, allocations: 0 / 0.7878 GB, free: 12.61 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)