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.004861/0.004861, allocations: 97.84 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.00141/0.00141, allocations: 197.1 kB / 16.67 MB, free: 5.969 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.285/1.285, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.507/2.507, allocations: 469.8 MB / 0.7425 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001763/0.001763, allocations: 64.11 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.255, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.006503/0.2615, allocations: 5.381 MB / 1.225 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.6067/0.8682, allocations: 150.9 MB / 1.373 GB, free: 10.49 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006632/0.8689, allocations: 16.03 kB / 1.373 GB, free: 10.48 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0004853/0.8694, allocations: 205.1 kB / 1.373 GB, free: 10.35 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001324/0.8708, allocations: 0.5786 MB / 1.373 GB, free: 10.02 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001648/0.8724, allocations: 0.9498 MB / 1.374 GB, free: 9.523 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001277/0.8737, allocations: 1.614 MB / 1.376 GB, free: 8.711 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008623/0.8746, allocations: 0.7493 MB / 1.377 GB, free: 8.309 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005893/0.8752, allocations: 0.592 MB / 1.377 GB, free: 8.016 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006439/0.8758, allocations: 0.654 MB / 1.378 GB, free: 7.684 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001621/0.876, allocations: 141.8 kB / 1.378 GB, free: 7.684 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007195/0.8767, allocations: 0.5192 MB / 1.379 GB, free: 7.562 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003001/0.877, allocations: 363.1 kB / 1.379 GB, free: 7.332 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0005349/0.8776, allocations: 0.6728 MB / 1.38 GB, free: 6.891 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001757/0.8793, allocations: 1.925 MB / 1.381 GB, free: 5.574 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.8793, allocations: 0 / 1.381 GB, free: 5.574 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.222e-06/0.8793, allocations: 1.125 kB / 1.381 GB, free: 5.574 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.669e-05/0.8794, allocations: 0 / 1.381 GB, free: 5.574 MB / 1.076 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.00275/0.8821, allocations: 1.719 MB / 1.383 GB, free: 4.258 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.98e-05/0.8822, allocations: 9.906 kB / 1.383 GB, free: 4.258 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001792/0.8823, allocations: 170.2 kB / 1.383 GB, free: 4.117 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004633/0.887, allocations: 0.7626 MB / 1.384 GB, free: 3.77 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001139/0.8881, allocations: 0.8382 MB / 1.385 GB, free: 3.078 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.869e-05/0.8882, allocations: 86.44 kB / 1.385 GB, free: 3.035 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001408/0.8884, allocations: 107.5 kB / 1.385 GB, free: 3 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002955/0.8913, allocations: 1.44 MB / 1.386 GB, free: 2.102 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.8913, allocations: 0 / 1.386 GB, free: 2.102 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001105/0.8915, allocations: 43.22 kB / 1.387 GB, free: 2.07 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/0.8915, allocations: 26.09 kB / 1.387 GB, free: 2.07 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00433/0.8958, allocations: 1.892 MB / 1.388 GB, free: 1.172 MB / 1.076 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.005542/0.9014, allocations: 3.504 MB / 1.392 GB, free: 14.46 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003203/0.9046, allocations: 1.383 MB / 1.393 GB, free: 13.71 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001442/0.906, allocations: 0.5976 MB / 1.394 GB, free: 13.41 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000618/0.9067, allocations: 482.8 kB / 1.394 GB, free: 12.9 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001754/0.9084, allocations: 0.8084 MB / 1.395 GB, free: 12.4 MB / 1.092 GB Notification: Performance of pre-optimization done (n=109): time 1.963e-06/0.9084, allocations: 0 / 1.395 GB, free: 12.4 MB / 1.092 GB Notification: Performance of matching and sorting (n=109): time 0.0056/0.9141, allocations: 1.979 MB / 1.397 GB, free: 11.39 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.9142, allocations: 196.1 kB / 1.397 GB, free: 11.16 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007104/0.9149, allocations: 0.6516 MB / 1.398 GB, free: 10.78 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 8.159e-05/0.915, allocations: 43.27 kB / 1.398 GB, free: 10.74 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003189/0.9153, allocations: 457.7 kB / 1.398 GB, free: 10.34 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002842/0.9156, allocations: 371.2 kB / 1.399 GB, free: 10.02 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000309/0.9159, allocations: 189.3 kB / 1.399 GB, free: 9.902 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001839/0.9161, allocations: 395.7 kB / 1.399 GB, free: 9.527 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001379/0.9175, allocations: 490.2 kB / 1.4 GB, free: 9.293 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001434/0.9189, allocations: 0.6113 MB / 1.4 GB, free: 8.938 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002707/0.9216, allocations: 1.069 MB / 1.401 GB, free: 8.383 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.9217, allocations: 0 / 1.401 GB, free: 8.383 MB / 1.092 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003497/0.9252, allocations: 1.325 MB / 1.403 GB, free: 7.727 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.9252, allocations: 6.438 kB / 1.403 GB, free: 7.727 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.9252, allocations: 3.984 kB / 1.403 GB, free: 7.723 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000517/0.9257, allocations: 85.39 kB / 1.403 GB, free: 7.68 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/0.9269, allocations: 261.4 kB / 1.403 GB, free: 7.605 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001906/0.9288, allocations: 1.631 MB / 1.404 GB, free: 5.996 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/0.9299, allocations: 165.1 kB / 1.405 GB, free: 5.902 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.141e-05/0.93, allocations: 41.5 kB / 1.405 GB, free: 5.887 MB / 1.092 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.0003828/0.9304, allocations: 297.3 kB / 1.405 GB, free: 5.652 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001689/0.9305, allocations: 101.5 kB / 1.405 GB, free: 5.598 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004177/0.9347, allocations: 1.674 MB / 1.407 GB, free: 4.684 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.9347, allocations: 9.781 kB / 1.407 GB, free: 4.684 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.9348, allocations: 2.75 kB / 1.407 GB, free: 4.684 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.9348, allocations: 7.969 kB / 1.407 GB, free: 4.676 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005042/0.9398, allocations: 2.808 MB / 1.409 GB, free: 2.805 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.9398, allocations: 4 kB / 1.409 GB, free: 2.801 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001204/0.941, allocations: 255.6 kB / 1.41 GB, free: 2.551 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003932/0.9414, allocations: 72.78 kB / 1.41 GB, free: 2.477 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.431e-05/0.9415, allocations: 35.97 kB / 1.41 GB, free: 2.441 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001765/0.9433, allocations: 1.662 MB / 1.411 GB, free: 0.6328 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.9433, allocations: 11.95 kB / 1.411 GB, free: 0.6211 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003804/0.9471, allocations: 1.533 MB / 1.413 GB, free: 15.07 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003911/0.9475, allocations: 324 kB / 1.413 GB, free: 14.73 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001429/0.9477, allocations: 23.94 kB / 1.413 GB, free: 14.71 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/0.9488, allocations: 127.9 kB / 1.413 GB, free: 14.58 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001755/0.949, allocations: 84.88 kB / 1.413 GB, free: 14.5 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/0.9491, allocations: 43.97 kB / 1.414 GB, free: 14.46 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0005309/0.9496, allocations: 483 kB / 1.414 GB, free: 13.99 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9496, allocations: 2.062 kB / 1.414 GB, free: 13.99 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0008743/0.9505, allocations: 395 kB / 1.414 GB, free: 13.6 MB / 1.107 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.005717/0.9562, allocations: 2.622 MB / 1.417 GB, free: 11.14 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.003369/0.9596, allocations: 1.354 MB / 1.418 GB, free: 9.773 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.9596, allocations: 0 / 1.418 GB, free: 9.773 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001862/0.9615, allocations: 0.8241 MB / 1.419 GB, free: 8.938 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/0.9627, allocations: 309.1 kB / 1.419 GB, free: 8.66 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01526/0.9779, allocations: 8.24 MB / 1.427 GB, free: 264 kB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000659/0.9786, allocations: 1.082 MB / 1.428 GB, free: 15.15 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001065/0.9797, allocations: 347.8 kB / 1.429 GB, free: 14.8 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007112/0.9804, allocations: 467.2 kB / 1.429 GB, free: 14.35 MB / 1.123 GB Notification: Performance of SimCode: time 2.61e-07/0.9804, allocations: 3.938 kB / 1.429 GB, free: 14.34 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.551/7.531, allocations: 25.61 MB / 1.454 GB, free: 5.141 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.76/23.29, allocations: 4.5 kB / 1.454 GB, free: 5.137 MB / 1.139 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)