Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009107/0.0009108, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.007711/0.007711, allocations: 169.8 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.514/1.514, allocations: 205.4 MB / 222.4 MB, free: 5.793 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.716/1.716, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004972/0.0004973, allocations: 21.44 kB / 0.6743 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2414, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002403/0.2439, allocations: 1.714 MB / 0.7896 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004793/0.2487, allocations: 3.62 MB / 0.7931 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001865/0.2489, allocations: 0 / 0.7931 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003154/0.2492, allocations: 43.69 kB / 0.7931 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004031/0.2497, allocations: 103.4 kB / 0.7932 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004348/0.2501, allocations: 99.83 kB / 0.7933 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003869/0.2505, allocations: 239 kB / 0.7936 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001471/0.2507, allocations: 48.39 kB / 0.7936 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002723/0.2509, allocations: 95.55 kB / 0.7937 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001815/0.2511, allocations: 111.5 kB / 0.7938 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.056e-05/0.2512, allocations: 8 kB / 0.7938 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002458/0.2514, allocations: 107.8 kB / 0.7939 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.525e-05/0.2515, allocations: 39.83 kB / 0.7939 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.2516, allocations: 109.1 kB / 0.7941 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003509/0.252, allocations: 263.1 kB / 0.7943 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.252, allocations: 3.938 kB / 0.7943 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.623e-06/0.252, allocations: 0 / 0.7943 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.252, allocations: 0 / 0.7943 GB, free: 4.941 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001136/0.2531, allocations: 0.5804 MB / 0.7949 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.2532, allocations: 12.03 kB / 0.7949 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.064e-05/0.2532, allocations: 20.66 kB / 0.7949 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004386/0.2537, allocations: 275.5 kB / 0.7952 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.2537, allocations: 8.375 kB / 0.7952 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.975e-05/0.2537, allocations: 8.375 kB / 0.7952 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005672/0.2543, allocations: 193.6 kB / 0.7954 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.2543, allocations: 0 / 0.7954 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.371e-05/0.2544, allocations: 4 kB / 0.7954 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.2544, allocations: 0 / 0.7954 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007423/0.2551, allocations: 247.7 kB / 0.7956 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008962/0.256, allocations: 496.3 kB / 0.7961 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004061/0.2565, allocations: 150.4 kB / 0.7962 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003711/0.2568, allocations: 136.9 kB / 0.7964 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009015/0.2578, allocations: 0.565 MB / 0.7969 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.2578, allocations: 38.56 kB / 0.7969 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.663e-06/0.2578, allocations: 4 kB / 0.7969 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.001264/0.2591, allocations: 413.5 kB / 0.7973 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.2591, allocations: 55.34 kB / 0.7974 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000213/0.2593, allocations: 234.7 kB / 0.7976 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.2594, allocations: 33.64 kB / 0.7977 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.586e-05/0.2595, allocations: 140 kB / 0.7978 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.36e-05/0.2595, allocations: 39.53 kB / 0.7978 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.698e-05/0.2596, allocations: 13.72 kB / 0.7978 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.2597, allocations: 338.8 kB / 0.7982 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003625/0.2601, allocations: 119.9 kB / 0.7983 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003503/0.2604, allocations: 124 kB / 0.7984 GB, free: 444 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006958/0.2611, allocations: 236.7 kB / 0.7986 GB, free: 204 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2611, allocations: 4 kB / 0.7986 GB, free: 200 kB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0008781/0.262, allocations: 297.2 kB / 0.7989 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.262, allocations: 4 kB / 0.7989 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.2621, allocations: 3.938 kB / 0.7989 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.2621, allocations: 0 / 0.7989 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003304/0.2624, allocations: 59.94 kB / 0.799 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.2624, allocations: 3.938 kB / 0.799 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002355/0.2627, allocations: 51.8 kB / 0.799 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.2627, allocations: 0 / 0.799 GB, free: 15.78 MB / 0.6231 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 (11): * Single equations (assignments): 11 * 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.0001896/0.2629, allocations: 126.5 kB / 0.7991 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.228e-05/0.263, allocations: 23.8 kB / 0.7992 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000883/0.2638, allocations: 315.1 kB / 0.7995 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.2639, allocations: 4 kB / 0.7995 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.2639, allocations: 3.938 kB / 0.7995 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.2639, allocations: 0 / 0.7995 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002876/0.2642, allocations: 281.4 kB / 0.7997 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.2642, allocations: 0 / 0.7997 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002746/0.2645, allocations: 55.94 kB / 0.7998 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.2645, allocations: 0 / 0.7998 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.2645, allocations: 0 / 0.7998 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.2645, allocations: 8 kB / 0.7998 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/0.2645, allocations: 7.938 kB / 0.7998 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008845/0.2654, allocations: 399 kB / 0.8002 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.544e-05/0.2655, allocations: 116.7 kB / 0.8003 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.254e-05/0.2655, allocations: 3.984 kB / 0.8003 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002653/0.2658, allocations: 39.97 kB / 0.8003 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.88e-05/0.2659, allocations: 15.86 kB / 0.8004 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.2659, allocations: 11.98 kB / 0.8004 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001338/0.2661, allocations: 166 kB / 0.8005 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2661, allocations: 0 / 0.8005 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003377/0.2664, allocations: 59.98 kB / 0.8006 GB, free: 14.08 MB / 0.6231 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 (11): * Single equations (assignments): 11 * 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.0002284/0.2666, allocations: 131.2 kB / 0.8007 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008119/0.2675, allocations: 264.3 kB / 0.801 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2675, allocations: 0 / 0.801 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003909/0.2679, allocations: 139.8 kB / 0.8011 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004141/0.2683, allocations: 31.28 kB / 0.8011 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008922/0.2692, allocations: 0.5089 MB / 0.8016 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.2695, allocations: 0.7355 MB / 0.8023 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001965/0.2698, allocations: 36.83 kB / 0.8024 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.251e-05/0.2698, allocations: 19.42 kB / 0.8024 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of SimCode: time 5.01e-07/0.2698, allocations: 0 / 0.8024 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of Templates: time 0.005789/0.2756, allocations: 2.373 MB / 0.8047 GB, free: 9.812 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) Environment - environmentSimulation: