Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.659/1.659, allocations: 292.3 MB / 308.1 MB, free: 4.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001304/0.001304, allocations: 193.5 kB / 376.9 MB, free: 1.809 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.529/1.529, allocations: 205 MB / 0.6354 GB, free: 9.793 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001084/0.001084, allocations: 102 kB / 0.748 GB, free: 61.17 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009959/0.0009959, allocations: 51.92 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.228, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003328/0.2314, allocations: 2.194 MB / 0.9844 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.004276/0.2357, allocations: 3.784 MB / 0.9881 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.702e-05/0.2358, allocations: 0 / 0.9881 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002784/0.2361, allocations: 59.61 kB / 0.9881 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0003145/0.2365, allocations: 107.3 kB / 0.9882 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002785/0.2367, allocations: 127.7 kB / 0.9883 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002954/0.237, allocations: 294.9 kB / 0.9886 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.2372, allocations: 60.69 kB / 0.9887 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001966/0.2374, allocations: 123.5 kB / 0.9888 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.2376, allocations: 139.4 kB / 0.9889 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.519e-05/0.2376, allocations: 19.92 kB / 0.9889 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000219/0.2378, allocations: 115.8 kB / 0.9891 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 6.405e-05/0.2379, allocations: 51.81 kB / 0.9891 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001082/0.238, allocations: 119.2 kB / 0.9892 GB, free: 3.188 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003294/0.2384, allocations: 318.9 kB / 0.9895 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2384, allocations: 4 kB / 0.9895 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2384, allocations: 0 / 0.9895 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.2384, allocations: 0 / 0.9895 GB, free: 2.871 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.00115/0.2395, allocations: 0.6269 MB / 0.9901 GB, free: 2.195 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.2396, allocations: 8.031 kB / 0.9901 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009248/0.2405, allocations: 180.3 kB / 0.9903 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007268/0.2413, allocations: 336.1 kB / 0.9906 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.2413, allocations: 8.562 kB / 0.9906 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.198e-05/0.2413, allocations: 11.94 kB / 0.9907 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006567/0.242, allocations: 221.5 kB / 0.9909 GB, free: 1.402 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.242, allocations: 4 kB / 0.9909 GB, free: 1.398 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/0.242, allocations: 0 / 0.9909 GB, free: 1.398 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.242, allocations: 4 kB / 0.9909 GB, free: 1.395 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009695/0.243, allocations: 283.6 kB / 0.9911 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001283/0.2443, allocations: 0.5746 MB / 0.9917 GB, free: 0.4922 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000524/0.2448, allocations: 170.4 kB / 0.9919 GB, free: 324 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000501/0.2453, allocations: 152.7 kB / 0.992 GB, free: 168 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00081/0.2462, allocations: 0.5571 MB / 0.9926 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.2462, allocations: 34.56 kB / 0.9926 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=13): time 1.643e-06/0.2462, allocations: 0 / 0.9926 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13): time 0.001611/0.2478, allocations: 489.6 kB / 0.9931 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/0.2479, allocations: 55.41 kB / 0.9931 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002377/0.2481, allocations: 264.6 kB / 0.9934 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.2482, allocations: 25.7 kB / 0.9934 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.907e-05/0.2483, allocations: 148 kB / 0.9935 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.736e-05/0.2483, allocations: 51.28 kB / 0.9936 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.287e-05/0.2484, allocations: 45.62 kB / 0.9936 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.2486, allocations: 346.7 kB / 0.994 GB, free: 14 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005089/0.2491, allocations: 143.9 kB / 0.9941 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000512/0.2496, allocations: 147.9 kB / 0.9942 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009649/0.2506, allocations: 291 kB / 0.9945 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2506, allocations: 0 / 0.9945 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00111/0.2517, allocations: 377 kB / 0.9949 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.2517, allocations: 4 kB / 0.9949 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.2517, allocations: 0 / 0.9949 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.2517, allocations: 0 / 0.9949 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004338/0.2522, allocations: 67.92 kB / 0.9949 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.2522, allocations: 0 / 0.9949 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003166/0.2525, allocations: 47.81 kB / 0.995 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.2526, allocations: 4 kB / 0.995 GB, free: 12.94 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001295/0.2527, allocations: 137.8 kB / 0.9951 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.353e-05/0.2528, allocations: 27.62 kB / 0.9951 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001206/0.254, allocations: 375.3 kB / 0.9955 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.254, allocations: 4 kB / 0.9955 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.254, allocations: 0 / 0.9955 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.494e-05/0.254, allocations: 7.922 kB / 0.9955 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003134/0.2543, allocations: 301.5 kB / 0.9958 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2543, allocations: 0 / 0.9958 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000383/0.2547, allocations: 63.86 kB / 0.9959 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.2547, allocations: 0 / 0.9959 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.703e-05/0.2548, allocations: 11.98 kB / 0.9959 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.2548, allocations: 0 / 0.9959 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.2548, allocations: 0 / 0.9959 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001862/0.2567, allocations: 1.2 MB / 0.997 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.2568, allocations: 124.7 kB / 0.9972 GB, free: 10.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.813e-05/0.2568, allocations: 11.94 kB / 0.9972 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003327/0.2572, allocations: 31.95 kB / 0.9972 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.036e-05/0.2573, allocations: 19.97 kB / 0.9972 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-05/0.2573, allocations: 3.984 kB / 0.9972 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001473/0.2574, allocations: 191 kB / 0.9974 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2574, allocations: 0 / 0.9974 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004224/0.2579, allocations: 71.98 kB / 0.9975 GB, free: 10.24 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002165/0.2581, allocations: 127.2 kB / 0.9976 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00109/0.2592, allocations: 325.4 kB / 0.9979 GB, free: 9.789 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2592, allocations: 0 / 0.9979 GB, free: 9.789 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005253/0.2597, allocations: 171.8 kB / 0.9981 GB, free: 9.621 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000473/0.2602, allocations: 36.58 kB / 0.9981 GB, free: 9.582 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.2614, allocations: 0.6975 MB / 0.9988 GB, free: 8.852 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.2617, allocations: 0.7477 MB / 0.9995 GB, free: 8.078 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002492/0.262, allocations: 49.38 kB / 0.9996 GB, free: 8.031 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.2621, allocations: 27.41 kB / 0.9996 GB, free: 8.004 MB / 0.7292 GB Notification: Performance of SimCode: time 3.21e-07/0.2621, allocations: 3.938 kB / 0.9996 GB, free: 8 MB / 0.7292 GB Notification: Performance of Templates: time 0.005822/0.268, allocations: 3.023 MB / 1.003 GB, free: 4.996 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)