Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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: translateModel(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008857/0.0008884, allocations: 95.56 kB / 15.69 MB, free: 476 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.0009474/0.0009473, allocations: 176.1 kB / 16.57 MB, free: 6.859 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.426/1.426, allocations: 223.2 MB / 240.5 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6627/0.6627, allocations: 113.8 MB / 405.4 MB, free: 4.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000308/0.000308, allocations: 9.625 kB / 493.1 MB, free: 8.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.157, allocations: 77.15 MB / 0.5568 GB, free: 11.6 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005281/0.1624, allocations: 3.632 MB / 0.5604 GB, free: 7.957 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4619/0.6243, allocations: 127.5 MB / 0.6849 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000538/0.6249, allocations: 19.94 kB / 0.6849 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003335/0.6253, allocations: 79.31 kB / 0.685 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001218/0.6265, allocations: 490.8 kB / 0.6855 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001414/0.6279, allocations: 0.6245 MB / 0.6861 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0009005/0.6288, allocations: 0.7988 MB / 0.6869 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006035/0.6294, allocations: 472.5 kB / 0.6873 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003888/0.6298, allocations: 326.6 kB / 0.6876 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004852/0.6303, allocations: 338.3 kB / 0.6879 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.811e-05/0.6304, allocations: 24 kB / 0.688 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006689/0.6311, allocations: 307.6 kB / 0.6883 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001818/0.6313, allocations: 183.2 kB / 0.6884 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.6314, allocations: 189.1 kB / 0.6886 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.6325, allocations: 1.152 MB / 0.6897 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.6325, allocations: 0 / 0.6897 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6325, allocations: 3.938 kB / 0.6897 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.6325, allocations: 0 / 0.6897 GB, free: 1.762 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002111/0.6346, allocations: 1.214 MB / 0.6909 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.6347, allocations: 12.02 kB / 0.6909 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009001/0.6356, allocations: 203.4 kB / 0.6911 GB, free: 300 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.6367, allocations: 0.7108 MB / 0.6918 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.571e-05/0.6367, allocations: 62 kB / 0.6919 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.6368, allocations: 87.94 kB / 0.692 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.6382, allocations: 0.9067 MB / 0.6929 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.6383, allocations: 0 / 0.6929 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.848e-05/0.6383, allocations: 36 kB / 0.6929 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.69e-05/0.6384, allocations: 20 kB / 0.6929 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001604/0.64, allocations: 1.104 MB / 0.694 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00384/0.6438, allocations: 2.531 MB / 0.6965 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001352/0.6452, allocations: 0.8057 MB / 0.6972 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 7.077e-05/0.6453, allocations: 32.69 kB / 0.6973 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008572/0.6461, allocations: 491 kB / 0.6977 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=80): time 1.984e-06/0.6462, allocations: 0 / 0.6977 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of matching and sorting (n=80): time 0.002905/0.6491, allocations: 1.198 MB / 0.6989 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.6492, allocations: 188.6 kB / 0.6991 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007459/0.6499, allocations: 0.6292 MB / 0.6997 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.038e-05/0.65, allocations: 41.7 kB / 0.6998 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002913/0.6503, allocations: 392.4 kB / 0.7001 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001989/0.6505, allocations: 264.2 kB / 0.7004 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.786e-05/0.6506, allocations: 12 kB / 0.7004 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.6507, allocations: 394.8 kB / 0.7008 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004501/0.6512, allocations: 241.9 kB / 0.701 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000535/0.6517, allocations: 354.5 kB / 0.7013 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005105/0.6523, allocations: 286.9 kB / 0.7016 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.6523, allocations: 4 kB / 0.7016 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001741/0.654, allocations: 0.802 MB / 0.7024 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.6541, allocations: 10.34 kB / 0.7024 GB, free: 4.438 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.6541, allocations: 3.938 kB / 0.7024 GB, free: 4.434 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005729/0.6547, allocations: 80.8 kB / 0.7025 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000597/0.6553, allocations: 159.8 kB / 0.7026 GB, free: 4.195 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001922/0.6572, allocations: 1.528 MB / 0.7041 GB, free: 2.531 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006192/0.6578, allocations: 95.42 kB / 0.7042 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.436e-05/0.6579, allocations: 31.98 kB / 0.7043 GB, free: 2.406 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (87): * Single equations (assignments): 86 * 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.000444/0.6583, allocations: 266.3 kB / 0.7045 GB, free: 2.137 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.6585, allocations: 82.97 kB / 0.7046 GB, free: 2.055 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002146/0.6606, allocations: 1.069 MB / 0.7056 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.6606, allocations: 8.234 kB / 0.7056 GB, free: 0.9609 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.6606, allocations: 4 kB / 0.7056 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.27e-05/0.6607, allocations: 11.97 kB / 0.7057 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000948/0.6616, allocations: 0.896 MB / 0.7065 GB, free: 0 / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.6616, allocations: 192 / 0.7065 GB, free: 0 / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005494/0.6622, allocations: 151.8 kB / 0.7067 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000479/0.6627, allocations: 84.77 kB / 0.7068 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.818e-05/0.6628, allocations: 23.98 kB / 0.7068 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001634/0.6644, allocations: 1.555 MB / 0.7083 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6644, allocations: 0 / 0.7083 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00173/0.6661, allocations: 0.9317 MB / 0.7092 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003697/0.6665, allocations: 275.7 kB / 0.7095 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.6666, allocations: 16 kB / 0.7095 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006018/0.6673, allocations: 83.92 kB / 0.7096 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.6674, allocations: 72.89 kB / 0.7096 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.525e-05/0.6675, allocations: 31.98 kB / 0.7097 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004984/0.668, allocations: 459 kB / 0.7101 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.21e-07/0.668, allocations: 0 / 0.7101 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000758/0.6688, allocations: 303.2 kB / 0.7104 GB, free: 11.86 MB / 0.5294 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * 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.001292/0.67, allocations: 0.607 MB / 0.711 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001497/0.6716, allocations: 0.7922 MB / 0.7118 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.6716, allocations: 0 / 0.7118 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008542/0.6724, allocations: 0.5199 MB / 0.7123 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009996/0.6734, allocations: 243.5 kB / 0.7125 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003744/0.6772, allocations: 2.148 MB / 0.7146 GB, free: 7.699 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005229/0.6777, allocations: 1.039 MB / 0.7156 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0007788/0.6785, allocations: 262.6 kB / 0.7159 GB, free: 6.367 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002374/0.6788, allocations: 103.4 kB / 0.716 GB, free: 6.266 MB / 0.5294 GB Notification: Performance of SimCode: time 8.22e-07/0.6788, allocations: 0 / 0.716 GB, free: 6.266 MB / 0.5294 GB Notification: Performance of Templates: time 0.02096/0.6997, allocations: 13.49 MB / 0.7291 GB, free: 8.945 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)