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.000825/0.000825, allocations: 88.17 kB / 15.7 MB, free: 460 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.0009764/0.0009765, allocations: 178.4 kB / 16.59 MB, free: 6.852 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.289/1.289, allocations: 223.3 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7132/0.7132, allocations: 113.7 MB / 405.4 MB, free: 4.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000305/0.000305, allocations: 12.73 kB / 493.2 MB, free: 8.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.156/0.1563, allocations: 77.11 MB / 0.5569 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.004968/0.1613, allocations: 3.979 MB / 0.5608 GB, free: 7.68 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4438/0.6052, allocations: 136.9 MB / 0.6945 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/0.6063, allocations: 15.94 kB / 0.6945 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007823/0.6071, allocations: 134.9 kB / 0.6947 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001908/0.609, allocations: 433.8 kB / 0.6951 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0022/0.6112, allocations: 0.7183 MB / 0.6958 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001707/0.6129, allocations: 1.278 MB / 0.697 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001004/0.6139, allocations: 0.5709 MB / 0.6976 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007573/0.6147, allocations: 406.2 kB / 0.698 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007558/0.6155, allocations: 465.7 kB / 0.6984 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002198/0.6157, allocations: 36 kB / 0.6985 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009077/0.6166, allocations: 363.7 kB / 0.6988 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002955/0.6169, allocations: 227 kB / 0.699 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002847/0.6172, allocations: 217 kB / 0.6992 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001562/0.6188, allocations: 1.337 MB / 0.7005 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.6188, allocations: 3.984 kB / 0.7005 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.432e-06/0.6188, allocations: 0 / 0.7005 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.868e-05/0.6189, allocations: 4 kB / 0.7005 GB, free: 7.656 MB / 0.5137 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.002954/0.6218, allocations: 1.412 MB / 0.7019 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.6219, allocations: 8.031 kB / 0.7019 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003235/0.6222, allocations: 172.9 kB / 0.7021 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004553/0.6268, allocations: 0.8216 MB / 0.7029 GB, free: 5.184 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001415/0.6282, allocations: 0.7858 MB / 0.7037 GB, free: 4.355 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.426e-05/0.6283, allocations: 82.2 kB / 0.7037 GB, free: 4.273 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002312/0.6285, allocations: 104 kB / 0.7038 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00327/0.6318, allocations: 1.451 MB / 0.7052 GB, free: 2.656 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/0.6319, allocations: 3.938 kB / 0.7053 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000124/0.632, allocations: 44 kB / 0.7053 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.633e-05/0.632, allocations: 28 kB / 0.7053 GB, free: 2.582 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004385/0.6364, allocations: 1.928 MB / 0.7072 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006148/0.6426, allocations: 3.323 MB / 0.7105 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002951/0.6455, allocations: 1.368 MB / 0.7118 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001334/0.6469, allocations: 0.6017 MB / 0.7124 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005969/0.6475, allocations: 478.6 kB / 0.7128 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001687/0.6492, allocations: 0.8165 MB / 0.7136 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=109): time 3.025e-06/0.6492, allocations: 0 / 0.7136 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of matching and sorting (n=109): time 0.005269/0.6545, allocations: 1.989 MB / 0.7156 GB, free: 7.852 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.409e-05/0.6546, allocations: 192.9 kB / 0.7158 GB, free: 7.617 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008545/0.6555, allocations: 0.6373 MB / 0.7164 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.259e-05/0.6556, allocations: 49.64 kB / 0.7164 GB, free: 6.918 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003565/0.6559, allocations: 448.5 kB / 0.7169 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002861/0.6562, allocations: 350.9 kB / 0.7172 GB, free: 6.125 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.066e-05/0.6563, allocations: 16 kB / 0.7172 GB, free: 6.109 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.6565, allocations: 394.7 kB / 0.7176 GB, free: 5.715 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00124/0.6577, allocations: 0.4938 MB / 0.7181 GB, free: 5.223 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001325/0.659, allocations: 0.6008 MB / 0.7186 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001284/0.6603, allocations: 0.5222 MB / 0.7192 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.6604, allocations: 0 / 0.7192 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00329/0.6636, allocations: 1.333 MB / 0.7205 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.6637, allocations: 6.031 kB / 0.7205 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.6637, allocations: 4 kB / 0.7205 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000527/0.6642, allocations: 84.89 kB / 0.7205 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/0.6655, allocations: 267.6 kB / 0.7208 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001829/0.6673, allocations: 1.512 MB / 0.7223 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/0.6684, allocations: 178.3 kB / 0.7225 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/0.6685, allocations: 43.97 kB / 0.7225 GB, free: 0.4961 MB / 0.5294 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005364/0.6691, allocations: 290.2 kB / 0.7228 GB, free: 208 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001914/0.6693, allocations: 90.88 kB / 0.7229 GB, free: 116 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004143/0.6734, allocations: 1.692 MB / 0.7245 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/0.6735, allocations: 16 kB / 0.7245 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.6735, allocations: 0 / 0.7245 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.6735, allocations: 7.969 kB / 0.7245 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005384/0.6789, allocations: 2.861 MB / 0.7273 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.6789, allocations: 7.984 kB / 0.7273 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001178/0.6801, allocations: 255.6 kB / 0.7276 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004454/0.6805, allocations: 84.77 kB / 0.7277 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-05/0.6807, allocations: 35.97 kB / 0.7277 GB, free: 11.08 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001562/0.6822, allocations: 1.544 MB / 0.7292 GB, free: 9.398 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.6822, allocations: 0 / 0.7292 GB, free: 9.398 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003421/0.6857, allocations: 1.539 MB / 0.7307 GB, free: 7.84 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000475/0.6862, allocations: 339.3 kB / 0.731 GB, free: 7.488 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001722/0.6863, allocations: 23.95 kB / 0.731 GB, free: 7.465 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/0.6874, allocations: 147.8 kB / 0.7312 GB, free: 7.32 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001619/0.6876, allocations: 80.88 kB / 0.7313 GB, free: 7.242 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/0.6877, allocations: 47.97 kB / 0.7313 GB, free: 7.195 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005858/0.6883, allocations: 467 kB / 0.7318 GB, free: 6.742 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6883, allocations: 0 / 0.7318 GB, free: 6.742 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001038/0.6893, allocations: 383.1 kB / 0.7321 GB, free: 6.367 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005181/0.6945, allocations: 2.606 MB / 0.7347 GB, free: 3.93 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003304/0.6978, allocations: 1.358 MB / 0.736 GB, free: 2.562 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.6979, allocations: 0 / 0.736 GB, free: 2.562 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001678/0.6995, allocations: 0.8241 MB / 0.7368 GB, free: 1.727 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.7007, allocations: 259.2 kB / 0.737 GB, free: 1.48 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01369/0.7144, allocations: 6.583 MB / 0.7435 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007039/0.7151, allocations: 1.088 MB / 0.7445 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001472/0.7166, allocations: 339.7 kB / 0.7449 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007582/0.7174, allocations: 459.2 kB / 0.7453 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of SimCode: time 1.142e-06/0.7174, allocations: 4 kB / 0.7453 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06489/0.7823, allocations: 25.22 MB / 0.7699 GB, free: 72 kB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002822/0.7826, allocations: 313.2 kB / 0.7702 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.524/3.307, allocations: 0 / 0.7702 GB, free: 15.7 MB / 0.5919 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/linux/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) Environment - environmentSimulation: