Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 103.8 kB / 16.27 MB, free: 6.418 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.001163/0.001163, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.671/1.671, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.5495 GB, free: 17.64 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.001473/0.001473, allocations: 71.89 kB / 0.6722 GB, free: 6.543 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2805, allocations: 114.6 MB / 0.784 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003503/0.2841, allocations: 1.917 MB / 0.7859 GB, free: 1.941 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.5054/0.7895, allocations: 3.442 MB / 0.7893 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001695/0.7898, allocations: 0 / 0.7893 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003312/0.7902, allocations: 55.83 kB / 0.7893 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0005378/0.7907, allocations: 128.5 kB / 0.7894 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 9.445e-05/0.7908, allocations: 26.31 kB / 0.7895 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002116/0.791, allocations: 175.5 kB / 0.7896 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.7911, allocations: 31.69 kB / 0.7897 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.7913, allocations: 88.62 kB / 0.7897 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001539/0.7915, allocations: 82.81 kB / 0.7898 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.687e-05/0.7915, allocations: 8.688 kB / 0.7898 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.453e-05/0.7916, allocations: 40.78 kB / 0.7899 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.659e-05/0.7917, allocations: 39.23 kB / 0.7899 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.76e-05/0.7918, allocations: 75.91 kB / 0.79 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002041/0.792, allocations: 165.3 kB / 0.7901 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.792, allocations: 0 / 0.7901 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.212e-06/0.792, allocations: 0 / 0.7901 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.792, allocations: 0 / 0.7901 GB, free: 45.85 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008157/0.7928, allocations: 0.5116 MB / 0.7906 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.7929, allocations: 8.188 kB / 0.7906 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.619e-05/0.7929, allocations: 18.41 kB / 0.7907 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000291/0.7932, allocations: 244.7 kB / 0.7909 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.7933, allocations: 10.47 kB / 0.7909 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.7933, allocations: 3.969 kB / 0.7909 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003212/0.7936, allocations: 147 kB / 0.791 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.7936, allocations: 2.625 kB / 0.791 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.7937, allocations: 0 / 0.791 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.591e-05/0.7937, allocations: 7.812 kB / 0.7911 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003939/0.7941, allocations: 149.7 kB / 0.7912 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005941/0.7947, allocations: 454.8 kB / 0.7916 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003718/0.7951, allocations: 171.5 kB / 0.7918 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002384/0.7953, allocations: 104.3 kB / 0.7919 GB, free: 44.85 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.7954, allocations: 7.75 kB / 0.7919 GB, free: 44.85 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.7954, allocations: 40.22 kB / 0.7919 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 1.052e-06/0.7954, allocations: 0.5 kB / 0.7919 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.0007974/0.7962, allocations: 288.5 kB / 0.7922 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.7962, allocations: 51.94 kB / 0.7923 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.7964, allocations: 217.4 kB / 0.7925 GB, free: 44.6 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.7964, allocations: 28.95 kB / 0.7925 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.16e-05/0.7965, allocations: 124.2 kB / 0.7926 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.71e-05/0.7965, allocations: 47.89 kB / 0.7927 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.457e-05/0.7966, allocations: 30.34 kB / 0.7927 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.854e-05/0.7967, allocations: 336.8 kB / 0.793 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002016/0.7969, allocations: 77.22 kB / 0.7931 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001918/0.7971, allocations: 71.94 kB / 0.7932 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004024/0.7975, allocations: 164 kB / 0.7933 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.7975, allocations: 0 / 0.7933 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004597/0.7979, allocations: 223.6 kB / 0.7935 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.798, allocations: 3.5 kB / 0.7935 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.798, allocations: 0 / 0.7935 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.798, allocations: 0.5 kB / 0.7935 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002407/0.7982, allocations: 43.03 kB / 0.7936 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.7983, allocations: 3.5 kB / 0.7936 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001537/0.7984, allocations: 13.34 kB / 0.7936 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.7984, allocations: 4 kB / 0.7936 GB, free: 44.06 MB / 0.6544 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 (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 prepare postOptimizeDAE: time 8.698e-05/0.7985, allocations: 132.5 kB / 0.7937 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.252e-05/0.7986, allocations: 22.03 kB / 0.7937 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.516e-05/0.7987, allocations: 23.64 kB / 0.7938 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.7987, allocations: 6.969 kB / 0.7938 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.7987, allocations: 4 kB / 0.7938 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.7987, allocations: 2.906 kB / 0.7938 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002332/0.7989, allocations: 267.7 kB / 0.794 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.7989, allocations: 0 / 0.794 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002111/0.7991, allocations: 35.52 kB / 0.7941 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.7992, allocations: 0 / 0.7941 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.7992, allocations: 2.672 kB / 0.7941 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.686e-06/0.7992, allocations: 3.562 kB / 0.7941 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.7992, allocations: 0 / 0.7941 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005228/0.7997, allocations: 322.8 kB / 0.7944 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 7.393e-05/0.7998, allocations: 112.3 kB / 0.7945 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.501e-05/0.7998, allocations: 6.875 kB / 0.7945 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001849/0.8, allocations: 16.22 kB / 0.7945 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.784e-05/0.8001, allocations: 13.44 kB / 0.7945 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.8001, allocations: 3.469 kB / 0.7945 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001078/0.8002, allocations: 157.3 kB / 0.7947 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8002, allocations: 1.312 kB / 0.7947 GB, free: 43.4 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002591/0.8005, allocations: 38.75 kB / 0.7947 GB, free: 43.39 MB / 0.6544 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.0001626/0.8007, allocations: 113.6 kB / 0.7948 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005079/0.8012, allocations: 195.2 kB / 0.795 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.8012, allocations: 0 / 0.795 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002264/0.8014, allocations: 92.75 kB / 0.7951 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/0.8019, allocations: 33.31 kB / 0.7951 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007244/0.8026, allocations: 465.9 kB / 0.7956 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002036/0.8028, allocations: 0.7259 MB / 0.7963 GB, free: 42.35 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.641e-05/0.8029, allocations: 26.95 kB / 0.7963 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.8029, allocations: 0 / 0.7963 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of Templates: time 0.005255/0.8081, allocations: 2.319 MB / 0.7986 GB, free: 42.22 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1)