Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 185.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5045/0.5045, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 222.9 MB / 349.1 MB, free: 2.773 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 109 kB / 420 MB, free: 8.488 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001034/0.001034, allocations: 51.92 kB / 0.4891 GB, free: 7.703 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2989, allocations: 70.06 MB / 0.5575 GB, free: 44.72 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.005457/0.3044, allocations: 4.891 MB / 0.5623 GB, free: 40.29 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.147/0.4514, allocations: 148.5 MB / 0.7073 GB, free: 3.258 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001103/0.4526, allocations: 19.94 kB / 0.7073 GB, free: 3.238 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.000587/0.4532, allocations: 150.8 kB / 0.7074 GB, free: 3.09 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001539/0.4548, allocations: 481 kB / 0.7079 GB, free: 2.621 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001845/0.4566, allocations: 0.8139 MB / 0.7087 GB, free: 1.816 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001264/0.4579, allocations: 1.451 MB / 0.7101 GB, free: 364 kB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2946/0.7525, allocations: 1.114 MB / 0.7112 GB, free: 2.164 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008599/0.7534, allocations: 0.5997 MB / 0.7118 GB, free: 2.164 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006415/0.7541, allocations: 0.683 MB / 0.7124 GB, free: 2.164 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001695/0.7543, allocations: 104.6 kB / 0.7125 GB, free: 2.164 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008746/0.7551, allocations: 449.8 kB / 0.713 GB, free: 2.164 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0003009/0.7554, allocations: 356.5 kB / 0.7133 GB, free: 2.164 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0006575/0.7561, allocations: 0.7286 MB / 0.714 GB, free: 2.164 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001993/0.7581, allocations: 2.192 MB / 0.7162 GB, free: 2.047 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.7581, allocations: 2.562 kB / 0.7162 GB, free: 2.047 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.21e-07/0.7581, allocations: 0 / 0.7162 GB, free: 2.047 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.629e-05/0.7582, allocations: 0 / 0.7162 GB, free: 2.047 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.002855/0.761, allocations: 1.818 MB / 0.7179 GB, free: 17.14 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.7611, allocations: 10.66 kB / 0.7179 GB, free: 17.14 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009321/0.762, allocations: 239.3 kB / 0.7182 GB, free: 17.05 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001139/0.7632, allocations: 0.8952 MB / 0.719 GB, free: 16.71 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001066/0.7633, allocations: 142.6 kB / 0.7192 GB, free: 16.67 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.7634, allocations: 141.3 kB / 0.7193 GB, free: 16.67 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002017/0.7655, allocations: 1.475 MB / 0.7208 GB, free: 16.48 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.429e-05/0.7655, allocations: 0 / 0.7208 GB, free: 16.48 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/0.7656, allocations: 58.38 kB / 0.7208 GB, free: 16.48 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.254e-05/0.7656, allocations: 40.69 kB / 0.7208 GB, free: 16.48 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001997/0.7676, allocations: 1.496 MB / 0.7223 GB, free: 16.46 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00607/0.7737, allocations: 3.944 MB / 0.7262 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001347/0.7751, allocations: 0.9028 MB / 0.727 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005472/0.7757, allocations: 365.5 kB / 0.7274 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 8.308e-05/0.7758, allocations: 45.52 kB / 0.7274 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001031/0.7768, allocations: 0.5508 MB / 0.728 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=93): time 3.987e-06/0.7768, allocations: 4.578 kB / 0.728 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=93): time 0.003742/0.7806, allocations: 1.372 MB / 0.7293 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.797e-05/0.7807, allocations: 191.9 kB / 0.7295 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/0.7817, allocations: 0.7641 MB / 0.7302 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.628e-05/0.7818, allocations: 49.7 kB / 0.7303 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003831/0.7822, allocations: 0.5734 MB / 0.7309 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002353/0.7824, allocations: 312.1 kB / 0.7312 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002817/0.7827, allocations: 192.4 kB / 0.7313 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.7829, allocations: 344.3 kB / 0.7317 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005305/0.7834, allocations: 324.9 kB / 0.732 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006241/0.784, allocations: 437 kB / 0.7324 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.7852, allocations: 0.7685 MB / 0.7331 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.7852, allocations: 0 / 0.7331 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002188/0.7874, allocations: 1.025 MB / 0.7341 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.7874, allocations: 7.281 kB / 0.7341 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.7875, allocations: 0 / 0.7341 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005851/0.788, allocations: 82.22 kB / 0.7342 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008276/0.7889, allocations: 198.1 kB / 0.7344 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002156/0.7911, allocations: 1.539 MB / 0.7359 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008711/0.7919, allocations: 101.5 kB / 0.736 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.12e-05/0.792, allocations: 49.34 kB / 0.7361 GB, free: 12.36 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 110 * 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.0006599/0.7927, allocations: 315.8 kB / 0.7364 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001819/0.7929, allocations: 106.5 kB / 0.7365 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002578/0.7955, allocations: 1.291 MB / 0.7377 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.7955, allocations: 13.53 kB / 0.7377 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.7955, allocations: 0 / 0.7377 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.7955, allocations: 6.188 kB / 0.7377 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003937/0.7995, allocations: 2.492 MB / 0.7402 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.7995, allocations: 0 / 0.7402 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006564/0.8002, allocations: 179.4 kB / 0.7403 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004972/0.8007, allocations: 84.36 kB / 0.7404 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.386e-05/0.8007, allocations: 31.39 kB / 0.7405 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001747/0.8025, allocations: 1.559 MB / 0.742 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.8025, allocations: 0 / 0.742 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003224/0.8057, allocations: 2.27 MB / 0.7442 GB, free: 9.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004654/0.8062, allocations: 318.9 kB / 0.7445 GB, free: 9.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001273/0.8064, allocations: 25.06 kB / 0.7445 GB, free: 9.336 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006678/0.807, allocations: 63.75 kB / 0.7446 GB, free: 9.332 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/0.8072, allocations: 69.55 kB / 0.7447 GB, free: 9.332 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.956e-05/0.8073, allocations: 43.88 kB / 0.7447 GB, free: 9.332 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006799/0.808, allocations: 0.5568 MB / 0.7452 GB, free: 9.238 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.9e-07/0.808, allocations: 0 / 0.7452 GB, free: 9.238 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001116/0.8091, allocations: 408.1 kB / 0.7456 GB, free: 9.148 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001214/0.8103, allocations: 0.6062 MB / 0.7462 GB, free: 8.934 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001697/0.812, allocations: 0.9619 MB / 0.7472 GB, free: 8.797 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.812, allocations: 2.094 kB / 0.7472 GB, free: 8.797 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008808/0.8129, allocations: 0.5769 MB / 0.7477 GB, free: 8.68 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/0.8141, allocations: 279.3 kB / 0.748 GB, free: 8.664 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005239/0.8194, allocations: 3.532 MB / 0.7514 GB, free: 6.891 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006647/0.8201, allocations: 1.204 MB / 0.7526 GB, free: 6.152 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001004/0.8211, allocations: 285.8 kB / 0.7529 GB, free: 6.078 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003086/0.8214, allocations: 124.8 kB / 0.753 GB, free: 6.07 MB / 0.5261 GB Notification: Performance of SimCode: time 6.61e-07/0.8214, allocations: 0 / 0.753 GB, free: 6.07 MB / 0.5261 GB Notification: Performance of Templates: time 0.02921/0.8506, allocations: 17.03 MB / 0.7696 GB, free: 14.32 MB / 0.5417 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)