Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.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/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_11_Buildings_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.001685/0.001685, allocations: 108 kB / 15.61 MB, free: 152 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.001815/0.001815, allocations: 192.6 kB / 16.53 MB, free: 6.664 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.363/1.363, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.673/2.673, allocations: 469.8 MB / 0.7424 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 71.42 kB / 0.9087 GB, free: 34.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2469, allocations: 159.2 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.006991/0.2539, allocations: 5.383 MB / 1.069 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1601/0.414, allocations: 150.8 MB / 1.217 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007558/0.4148, allocations: 23.88 kB / 1.217 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006511/0.4155, allocations: 210 kB / 1.217 GB, free: 1.148 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001773/0.4173, allocations: 0.5782 MB / 1.217 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002058/0.4194, allocations: 0.947 MB / 1.218 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001746/0.4211, allocations: 1.605 MB / 1.22 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001061/0.4222, allocations: 0.7551 MB / 1.221 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007815/0.423, allocations: 0.588 MB / 1.221 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008234/0.4238, allocations: 0.6471 MB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002456/0.4241, allocations: 144 kB / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008676/0.4249, allocations: 0.4957 MB / 1.222 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000344/0.4253, allocations: 354.9 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006784/0.426, allocations: 0.6763 MB / 1.223 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002017/0.428, allocations: 1.869 MB / 1.225 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.428, allocations: 4 kB / 1.225 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.062e-06/0.428, allocations: 0 / 1.225 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.837e-05/0.4281, allocations: 4 kB / 1.225 GB, free: 8.434 MB / 0.9825 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.00324/0.4313, allocations: 1.672 MB / 1.227 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.4314, allocations: 8.031 kB / 1.227 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002016/0.4316, allocations: 169.1 kB / 1.227 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005084/0.4367, allocations: 0.76 MB / 1.228 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.4378, allocations: 0.8122 MB / 1.229 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.021e-05/0.4379, allocations: 82.19 kB / 1.229 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/0.4381, allocations: 104 kB / 1.229 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003118/0.4412, allocations: 1.436 MB / 1.23 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/0.4412, allocations: 0 / 1.23 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001219/0.4413, allocations: 48 kB / 1.23 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.142e-05/0.4414, allocations: 27.94 kB / 1.23 GB, free: 3.148 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004624/0.446, allocations: 1.889 MB / 1.232 GB, free: 1.25 MB / 0.9825 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.00607/0.4521, allocations: 3.54 MB / 1.236 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003434/0.4555, allocations: 1.378 MB / 1.237 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001534/0.4571, allocations: 0.5933 MB / 1.238 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006576/0.4577, allocations: 482.6 kB / 1.238 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001914/0.4597, allocations: 0.8087 MB / 1.239 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=109): time 2.195e-06/0.4597, allocations: 0 / 1.239 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of matching and sorting (n=109): time 0.006124/0.4658, allocations: 1.977 MB / 1.241 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/0.4659, allocations: 196.9 kB / 1.241 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008002/0.4667, allocations: 0.645 MB / 1.242 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.814e-05/0.4668, allocations: 49.7 kB / 1.242 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003486/0.4672, allocations: 444.6 kB / 1.242 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003031/0.4675, allocations: 354.8 kB / 1.242 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003229/0.4678, allocations: 194.5 kB / 1.243 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001954/0.468, allocations: 398.7 kB / 1.243 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001458/0.4695, allocations: 489.7 kB / 1.243 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001558/0.4711, allocations: 0.6047 MB / 1.244 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002926/0.474, allocations: 1.062 MB / 1.245 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.474, allocations: 7.938 kB / 1.245 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00378/0.4778, allocations: 1.325 MB / 1.246 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.4778, allocations: 4 kB / 1.246 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.4778, allocations: 4 kB / 1.246 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005718/0.4784, allocations: 84.89 kB / 1.246 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001354/0.4798, allocations: 259.6 kB / 1.247 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002048/0.4818, allocations: 1.634 MB / 1.248 GB, free: 192 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/0.483, allocations: 155.2 kB / 1.248 GB, free: 36 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.3913/0.8743, allocations: 41.62 kB / 1.248 GB, free: 185.5 MB / 0.9981 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.0006222/0.875, allocations: 290 kB / 1.249 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002535/0.8753, allocations: 93.94 kB / 1.249 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004538/0.8798, allocations: 1.676 MB / 1.25 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.8798, allocations: 13.41 kB / 1.25 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.8798, allocations: 0 / 1.25 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/0.8799, allocations: 9.703 kB / 1.25 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005007/0.8849, allocations: 2.799 MB / 1.253 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.8849, allocations: 0.8438 kB / 1.253 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001229/0.8861, allocations: 256.2 kB / 1.253 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004132/0.8865, allocations: 73.08 kB / 1.253 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.26e-05/0.8866, allocations: 35.75 kB / 1.254 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001375/0.888, allocations: 1.665 MB / 1.255 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.888, allocations: 1.969 kB / 1.255 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003352/0.8914, allocations: 1.526 MB / 1.257 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003152/0.8917, allocations: 325.3 kB / 1.257 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001433/0.8918, allocations: 24.81 kB / 1.257 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/0.893, allocations: 127.8 kB / 1.257 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/0.8931, allocations: 86.19 kB / 1.257 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.002e-05/0.8932, allocations: 43.39 kB / 1.257 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000437/0.8936, allocations: 477.1 kB / 1.258 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8936, allocations: 0 / 1.258 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008144/0.8945, allocations: 397.1 kB / 1.258 GB, free: 183.1 MB / 0.9981 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.005126/0.8996, allocations: 2.605 MB / 1.261 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004124/0.9037, allocations: 1.627 MB / 1.262 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.9037, allocations: 3.25 kB / 1.262 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001683/0.9054, allocations: 0.8126 MB / 1.263 GB, free: 182 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.9066, allocations: 322.7 kB / 1.263 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01489/0.9215, allocations: 8.489 MB / 1.272 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005051/0.922, allocations: 1.084 MB / 1.273 GB, free: 177.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001318/0.9233, allocations: 342.1 kB / 1.273 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005996/0.9239, allocations: 466.3 kB / 1.273 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of SimCode: time 4.11e-07/0.9239, allocations: 0 / 1.273 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.471/3.395, allocations: 25.34 MB / 1.298 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.76/24.16, allocations: 10.23 kB / 1.298 GB, free: 166.5 MB / 0.9981 GB (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_fmu --startTime=0 --stopTime=8.64e+06 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)