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.001187/0.001187, allocations: 104.4 kB / 15.98 MB, free: 6.348 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.001202/0.001202, allocations: 198.4 kB / 16.91 MB, free: 6.199 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.191/1.191, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6273/0.6273, allocations: 115.3 MB / 406.1 MB, free: 6.363 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 67.91 kB / 493.2 MB, free: 0.5859 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2624, allocations: 76.17 MB / 0.556 GB, free: 35.47 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.004937/0.2674, allocations: 5.366 MB / 0.5613 GB, free: 31.65 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1238/0.3911, allocations: 148.6 MB / 0.7064 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008985/0.3921, allocations: 15.94 kB / 0.7064 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006533/0.3927, allocations: 166.7 kB / 0.7066 GB, free: 9.926 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001693/0.3945, allocations: 0.4965 MB / 0.7071 GB, free: 9.43 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001903/0.3964, allocations: 0.8446 MB / 0.7079 GB, free: 8.594 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001503/0.3979, allocations: 1.612 MB / 0.7095 GB, free: 6.973 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008778/0.3988, allocations: 0.7435 MB / 0.7102 GB, free: 6.188 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006614/0.3994, allocations: 0.5918 MB / 0.7108 GB, free: 5.594 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006481/0.4001, allocations: 0.6535 MB / 0.7114 GB, free: 4.938 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001931/0.4003, allocations: 144 kB / 0.7115 GB, free: 4.797 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007444/0.4011, allocations: 0.4996 MB / 0.712 GB, free: 4.297 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002627/0.4013, allocations: 362.8 kB / 0.7124 GB, free: 3.941 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005221/0.4019, allocations: 0.6725 MB / 0.713 GB, free: 3.266 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001596/0.4035, allocations: 1.873 MB / 0.7149 GB, free: 1.387 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.4035, allocations: 0 / 0.7149 GB, free: 1.387 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.382e-06/0.4035, allocations: 0 / 0.7149 GB, free: 1.387 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.503e-05/0.4035, allocations: 0 / 0.7149 GB, free: 1.387 MB / 0.545 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.002773/0.4063, allocations: 1.68 MB / 0.7165 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.4063, allocations: 12.03 kB / 0.7165 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001677/0.4065, allocations: 165.1 kB / 0.7167 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004759/0.4113, allocations: 0.7561 MB / 0.7174 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009784/0.4123, allocations: 0.8121 MB / 0.7182 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.618e-05/0.4123, allocations: 86.2 kB / 0.7183 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/0.4125, allocations: 104 kB / 0.7184 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002806/0.4153, allocations: 1.432 MB / 0.7198 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/0.4153, allocations: 4 kB / 0.7198 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/0.4154, allocations: 44 kB / 0.7198 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.943e-05/0.4155, allocations: 28 kB / 0.7199 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004072/0.4196, allocations: 1.885 MB / 0.7217 GB, free: 10.21 MB / 0.5606 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.005351/0.4249, allocations: 3.547 MB / 0.7252 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002942/0.4279, allocations: 1.381 MB / 0.7265 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001309/0.4292, allocations: 0.6019 MB / 0.7271 GB, free: 4.52 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005819/0.4298, allocations: 478.6 kB / 0.7276 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001699/0.4315, allocations: 0.8127 MB / 0.7283 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=109): time 2.174e-06/0.4315, allocations: 0 / 0.7283 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of matching and sorting (n=109): time 0.005487/0.437, allocations: 1.977 MB / 0.7303 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.382e-05/0.4371, allocations: 192.9 kB / 0.7305 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006913/0.4378, allocations: 0.6528 MB / 0.7311 GB, free: 236 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.56e-05/0.4379, allocations: 49.64 kB / 0.7311 GB, free: 180 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002823/0.4382, allocations: 440.7 kB / 0.7316 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002442/0.4384, allocations: 350.8 kB / 0.7319 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002913/0.4387, allocations: 190.5 kB / 0.7321 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.4389, allocations: 402.7 kB / 0.7325 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001301/0.4402, allocations: 493.7 kB / 0.7329 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001395/0.4416, allocations: 0.6125 MB / 0.7335 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00262/0.4442, allocations: 1.058 MB / 0.7346 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.4442, allocations: 0 / 0.7346 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003398/0.4476, allocations: 1.325 MB / 0.7359 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.4477, allocations: 4 kB / 0.7359 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.4477, allocations: 4 kB / 0.7359 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005369/0.4482, allocations: 84.89 kB / 0.736 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/0.4495, allocations: 259.6 kB / 0.7362 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001774/0.4513, allocations: 1.644 MB / 0.7378 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/0.4524, allocations: 161 kB / 0.738 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.261e-05/0.4525, allocations: 39.97 kB / 0.738 GB, free: 8.93 MB / 0.5762 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.0003684/0.4528, allocations: 289.5 kB / 0.7383 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001723/0.453, allocations: 98.78 kB / 0.7384 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004098/0.4571, allocations: 1.676 MB / 0.74 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.849e-06/0.4571, allocations: 12 kB / 0.74 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.4571, allocations: 4 kB / 0.74 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.4572, allocations: 7.922 kB / 0.74 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00482/0.462, allocations: 2.798 MB / 0.7428 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.462, allocations: 3.984 kB / 0.7428 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001178/0.4632, allocations: 251.6 kB / 0.743 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003888/0.4636, allocations: 76.78 kB / 0.7431 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.672e-05/0.4637, allocations: 35.97 kB / 0.7431 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001594/0.4653, allocations: 1.662 MB / 0.7447 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4653, allocations: 0 / 0.7447 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00345/0.4687, allocations: 1.531 MB / 0.7462 GB, free: 248 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.2214/0.6901, allocations: 314.6 kB / 0.7465 GB, free: 40.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002895/0.6905, allocations: 23.75 kB / 0.7466 GB, free: 40.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001298/0.6918, allocations: 123.7 kB / 0.7467 GB, free: 40.28 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002021/0.692, allocations: 86.14 kB / 0.7468 GB, free: 40.28 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/0.6921, allocations: 50.36 kB / 0.7468 GB, free: 40.28 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005967/0.6927, allocations: 472.6 kB / 0.7473 GB, free: 40.18 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6927, allocations: 0.625 kB / 0.7473 GB, free: 40.18 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001023/0.6937, allocations: 392.3 kB / 0.7476 GB, free: 40.18 MB / 0.5762 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.004933/0.6987, allocations: 2.608 MB / 0.7502 GB, free: 39.49 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004191/0.7029, allocations: 1.629 MB / 0.7518 GB, free: 39.37 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.7029, allocations: 0.5938 kB / 0.7518 GB, free: 39.37 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001601/0.7045, allocations: 0.8197 MB / 0.7526 GB, free: 39.25 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/0.7057, allocations: 322.4 kB / 0.7529 GB, free: 39.22 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01607/0.7217, allocations: 8.957 MB / 0.7616 GB, free: 36.32 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005434/0.7223, allocations: 1.088 MB / 0.7627 GB, free: 35.61 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001347/0.7237, allocations: 339.7 kB / 0.763 GB, free: 35.56 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006282/0.7243, allocations: 465.8 kB / 0.7634 GB, free: 35.55 MB / 0.5762 GB Notification: Performance of SimCode: time 3.4e-07/0.7243, allocations: 4.844 kB / 0.7635 GB, free: 35.55 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.892/2.617, allocations: 25.13 MB / 0.788 GB, free: 30.55 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002385/2.617, allocations: 316.9 kB / 0.7883 GB, free: 30.18 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.363/4.98, allocations: 3 kB / 0.7883 GB, free: 30.18 MB / 0.5762 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)