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.001953/0.001953, allocations: 109.4 kB / 15.69 MB, free: 128 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.00252/0.00252, allocations: 186.7 kB / 16.62 MB, free: 6.613 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.505/1.505, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.756/1.756, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001441/0.001441, allocations: 70.97 kB / 0.6723 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.2476, allocations: 114.6 MB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003331/0.251, allocations: 2.006 MB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004413/0.2554, allocations: 3.691 MB / 0.7897 GB, free: 7 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.2556, allocations: 4 kB / 0.7897 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003158/0.256, allocations: 55.56 kB / 0.7897 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003562/0.2563, allocations: 111.3 kB / 0.7898 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003521/0.2567, allocations: 119.7 kB / 0.79 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003218/0.257, allocations: 259 kB / 0.7902 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.2572, allocations: 48.38 kB / 0.7903 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002056/0.2574, allocations: 115.5 kB / 0.7904 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.2576, allocations: 111.5 kB / 0.7905 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.089e-05/0.2576, allocations: 16 kB / 0.7905 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002151/0.2578, allocations: 119.8 kB / 0.7906 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.895e-05/0.2579, allocations: 47.81 kB / 0.7906 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.258, allocations: 103.3 kB / 0.7907 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003352/0.2584, allocations: 279.1 kB / 0.791 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.2584, allocations: 0 / 0.791 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2584, allocations: 4 kB / 0.791 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.2584, allocations: 0 / 0.791 GB, free: 5.629 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.001118/0.2595, allocations: 0.5801 MB / 0.7916 GB, free: 5 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.2596, allocations: 8.031 kB / 0.7916 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.6e-05/0.2596, allocations: 28.56 kB / 0.7916 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004278/0.2601, allocations: 271.6 kB / 0.7919 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.2601, allocations: 12.31 kB / 0.7919 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.2601, allocations: 4.375 kB / 0.7919 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004906/0.2606, allocations: 177.6 kB / 0.7921 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.2606, allocations: 0 / 0.7921 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.899e-05/0.2607, allocations: 4 kB / 0.7921 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.2607, allocations: 0 / 0.7921 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006583/0.2613, allocations: 191.8 kB / 0.7922 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009321/0.2623, allocations: 496.3 kB / 0.7927 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003902/0.2627, allocations: 122.4 kB / 0.7928 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003417/0.263, allocations: 112.8 kB / 0.7929 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000849/0.2639, allocations: 0.5454 MB / 0.7935 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.2639, allocations: 30.56 kB / 0.7935 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 2.164e-06/0.264, allocations: 4 kB / 0.7935 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.001248/0.2652, allocations: 353.6 kB / 0.7938 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.2653, allocations: 59.33 kB / 0.7939 GB, free: 2.379 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002547/0.2655, allocations: 234.7 kB / 0.7941 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.2656, allocations: 29.7 kB / 0.7942 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.2657, allocations: 143.9 kB / 0.7943 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.342e-05/0.2658, allocations: 35.45 kB / 0.7943 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.982e-05/0.2658, allocations: 33.7 kB / 0.7944 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.266, allocations: 334.8 kB / 0.7947 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000334/0.2664, allocations: 95.91 kB / 0.7948 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003219/0.2667, allocations: 99.95 kB / 0.7949 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007095/0.2674, allocations: 196.6 kB / 0.7951 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.2674, allocations: 4 kB / 0.7951 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007466/0.2682, allocations: 249.3 kB / 0.7953 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.2682, allocations: 4 kB / 0.7953 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.2682, allocations: 4 kB / 0.7953 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.2682, allocations: 0 / 0.7953 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003036/0.2685, allocations: 43.94 kB / 0.7953 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.2686, allocations: 11.92 kB / 0.7954 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000207/0.2688, allocations: 35.8 kB / 0.7954 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.2688, allocations: 4 kB / 0.7954 GB, free: 0.8047 MB / 0.6075 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.0001127/0.2689, allocations: 126.5 kB / 0.7955 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.72e-05/0.269, allocations: 23.72 kB / 0.7955 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008287/0.2698, allocations: 287 kB / 0.7958 GB, free: 376 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.2698, allocations: 0 / 0.7958 GB, free: 376 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.2698, allocations: 3.938 kB / 0.7958 GB, free: 372 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.2699, allocations: 0 / 0.7958 GB, free: 372 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003186/0.2702, allocations: 273.5 kB / 0.7961 GB, free: 48 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2702, allocations: 0 / 0.7961 GB, free: 48 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002676/0.2705, allocations: 43.94 kB / 0.7961 GB, free: 4 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.2705, allocations: 4 kB / 0.7961 GB, free: 0 / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.849e-05/0.2705, allocations: 8.078 kB / 0.7961 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.2705, allocations: 4 kB / 0.7961 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.2705, allocations: 3.938 kB / 0.7961 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008065/0.2713, allocations: 358.9 kB / 0.7965 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/0.2715, allocations: 116.7 kB / 0.7966 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.988e-05/0.2715, allocations: 11.98 kB / 0.7966 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002292/0.2718, allocations: 19.97 kB / 0.7966 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.239e-05/0.2718, allocations: 15.92 kB / 0.7966 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.2719, allocations: 11.98 kB / 0.7966 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000205/0.2721, allocations: 170 kB / 0.7968 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2721, allocations: 0 / 0.7968 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003387/0.2724, allocations: 55.98 kB / 0.7969 GB, free: 15.2 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.0002328/0.2727, allocations: 131.2 kB / 0.797 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007703/0.2734, allocations: 220.2 kB / 0.7972 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2735, allocations: 0 / 0.7972 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003744/0.2738, allocations: 120 kB / 0.7973 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005098/0.2744, allocations: 45.56 kB / 0.7974 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008897/0.2753, allocations: 418.3 kB / 0.7978 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.2756, allocations: 0.7353 MB / 0.7985 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001565/0.2758, allocations: 36.86 kB / 0.7985 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.595e-05/0.2759, allocations: 23.42 kB / 0.7985 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of SimCode: time 4.31e-07/0.2759, allocations: 0 / 0.7985 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of Templates: time 0.006357/0.2822, allocations: 2.701 MB / 0.8012 GB, free: 10.77 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (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)