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.00106/0.00106, allocations: 106.2 kB / 16.4 MB, free: 6.484 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.001083/0.001083, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.215/1.215, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.656/0.656, allocations: 115.3 MB / 406.5 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 66.84 kB / 0.5572 GB, free: 32.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.128, allocations: 76.18 MB / 0.6316 GB, free: 4.953 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.007477/0.1355, allocations: 5.377 MB / 0.6368 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4478/0.5834, allocations: 150.8 MB / 0.7841 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007877/0.5842, allocations: 15.69 kB / 0.7841 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000529/0.5848, allocations: 217.5 kB / 0.7843 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0014/0.5862, allocations: 0.5719 MB / 0.7849 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001708/0.5879, allocations: 0.9471 MB / 0.7858 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001167/0.5891, allocations: 1.614 MB / 0.7874 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008409/0.59, allocations: 0.7532 MB / 0.7881 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006103/0.5906, allocations: 0.5921 MB / 0.7887 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006159/0.5912, allocations: 0.6489 MB / 0.7893 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001709/0.5914, allocations: 143.3 kB / 0.7895 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008218/0.5922, allocations: 0.5302 MB / 0.79 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002455/0.5925, allocations: 359.7 kB / 0.7903 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004424/0.5929, allocations: 0.6694 MB / 0.791 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00154/0.5945, allocations: 1.925 MB / 0.7929 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.5945, allocations: 0 / 0.7929 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5945, allocations: 0 / 0.7929 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.697e-05/0.5945, allocations: 0 / 0.7929 GB, free: 12.71 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: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.00266/0.5972, allocations: 1.685 MB / 0.7945 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.5972, allocations: 10.84 kB / 0.7945 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000164/0.5974, allocations: 165 kB / 0.7947 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004712/0.6021, allocations: 0.7592 MB / 0.7954 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.6032, allocations: 0.8313 MB / 0.7962 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.74e-05/0.6033, allocations: 80.92 kB / 0.7963 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001425/0.6034, allocations: 106 kB / 0.7964 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002767/0.6062, allocations: 1.433 MB / 0.7978 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/0.6062, allocations: 0 / 0.7978 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001144/0.6064, allocations: 47.09 kB / 0.7979 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.978e-05/0.6064, allocations: 29.33 kB / 0.7979 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003979/0.6104, allocations: 1.894 MB / 0.7997 GB, free: 10.75 MB / 0.5919 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.005511/0.6159, allocations: 3.5 MB / 0.8032 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002833/0.6187, allocations: 1.388 MB / 0.8045 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001286/0.62, allocations: 0.5986 MB / 0.8051 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006228/0.6207, allocations: 478.5 kB / 0.8056 GB, free: 7.891 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00162/0.6223, allocations: 0.814 MB / 0.8064 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=109): time 3.106e-06/0.6223, allocations: 3.938 kB / 0.8064 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of matching and sorting (n=109): time 0.005509/0.6278, allocations: 1.971 MB / 0.8083 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.628, allocations: 199 kB / 0.8085 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009103/0.6289, allocations: 0.6487 MB / 0.8091 GB, free: 6.613 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001116/0.629, allocations: 50.95 kB / 0.8092 GB, free: 6.582 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003617/0.6294, allocations: 441.4 kB / 0.8096 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002898/0.6297, allocations: 356.6 kB / 0.8099 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000316/0.63, allocations: 188.2 kB / 0.8101 GB, free: 5.918 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.6302, allocations: 391.2 kB / 0.8105 GB, free: 5.547 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001312/0.6315, allocations: 499.1 kB / 0.8109 GB, free: 5.305 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001368/0.6329, allocations: 0.6079 MB / 0.8115 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002579/0.6354, allocations: 1.067 MB / 0.8126 GB, free: 4.395 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.6355, allocations: 4 kB / 0.8126 GB, free: 4.391 MB / 0.5919 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003512/0.639, allocations: 1.317 MB / 0.8139 GB, free: 3.746 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.639, allocations: 7.094 kB / 0.8139 GB, free: 3.746 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.639, allocations: 128 / 0.8139 GB, free: 3.746 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005835/0.6396, allocations: 86.58 kB / 0.814 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/0.6409, allocations: 259.3 kB / 0.8142 GB, free: 3.629 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001975/0.6429, allocations: 1.634 MB / 0.8158 GB, free: 2.023 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/0.6442, allocations: 168.7 kB / 0.816 GB, free: 1.922 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.57e-05/0.6443, allocations: 43.47 kB / 0.816 GB, free: 1.906 MB / 0.5919 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.0005396/0.6449, allocations: 281.2 kB / 0.8163 GB, free: 1.688 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002577/0.6451, allocations: 96.22 kB / 0.8164 GB, free: 1.637 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004208/0.6493, allocations: 1.671 MB / 0.818 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/0.6494, allocations: 10.06 kB / 0.818 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.6494, allocations: 0 / 0.818 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-05/0.6494, allocations: 10.09 kB / 0.818 GB, free: 0.7148 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005946/0.6553, allocations: 2.805 MB / 0.8208 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/0.6554, allocations: 0 / 0.8208 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00126/0.6566, allocations: 255.1 kB / 0.821 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004361/0.6571, allocations: 74.78 kB / 0.8211 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.22e-05/0.6572, allocations: 36.16 kB / 0.8211 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001933/0.6591, allocations: 1.669 MB / 0.8227 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.6591, allocations: 3.938 kB / 0.8227 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003848/0.663, allocations: 1.528 MB / 0.8242 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005343/0.6635, allocations: 325.3 kB / 0.8245 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002325/0.6638, allocations: 26.66 kB / 0.8246 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001235/0.665, allocations: 120.6 kB / 0.8247 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001604/0.6652, allocations: 87.5 kB / 0.8248 GB, free: 12 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.486e-05/0.6653, allocations: 43.88 kB / 0.8248 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006173/0.6659, allocations: 478.6 kB / 0.8253 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.01e-07/0.6659, allocations: 0 / 0.8253 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001125/0.6671, allocations: 397.2 kB / 0.8256 GB, free: 11.6 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: 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.005376/0.6724, allocations: 2.608 MB / 0.8282 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00343/0.6759, allocations: 1.359 MB / 0.8295 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.6759, allocations: 4 kB / 0.8295 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001823/0.6777, allocations: 0.8163 MB / 0.8303 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001432/0.6792, allocations: 305.2 kB / 0.8306 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01568/0.6949, allocations: 8.189 MB / 0.8386 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006387/0.6955, allocations: 1.084 MB / 0.8397 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001249/0.6968, allocations: 343.9 kB / 0.84 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007081/0.6975, allocations: 459.2 kB / 0.8404 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of SimCode: time 8.71e-07/0.6975, allocations: 4 kB / 0.8404 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05149/0.749, allocations: 26.11 MB / 0.8659 GB, free: 3.223 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12.35, allocations: 12.2 kB / 0.8659 GB, free: 3.207 MB / 0.6387 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)