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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 100.8 kB / 16.27 MB, free: 5.969 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.001573/0.001573, allocations: 191.6 kB / 17.2 MB, free: 5.594 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.58/1.58, 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.774/1.774, allocations: 292.3 MB / 0.5495 GB, free: 17.6 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.001625/0.001625, allocations: 63.91 kB / 0.6722 GB, free: 6.609 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2673, allocations: 114.5 MB / 0.784 GB, free: 3.945 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003568/0.2709, allocations: 2.146 MB / 0.7861 GB, free: 1.781 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.5081/0.7789, allocations: 3.779 MB / 0.7898 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001404/0.7791, allocations: 2.688 kB / 0.7898 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003228/0.7795, allocations: 65.81 kB / 0.7899 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003791/0.7799, allocations: 119.7 kB / 0.79 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000336/0.7802, allocations: 154.7 kB / 0.7901 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000325/0.7806, allocations: 317.7 kB / 0.7904 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00016/0.7807, allocations: 59.77 kB / 0.7905 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002308/0.781, allocations: 131.2 kB / 0.7906 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001777/0.7812, allocations: 139.1 kB / 0.7908 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.978e-05/0.7812, allocations: 19.66 kB / 0.7908 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002428/0.7815, allocations: 144.8 kB / 0.7909 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.21e-05/0.7815, allocations: 57.05 kB / 0.791 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.7817, allocations: 115.5 kB / 0.7911 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003572/0.782, allocations: 340.5 kB / 0.7914 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.782, allocations: 1.281 kB / 0.7914 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.463e-06/0.782, allocations: 0 / 0.7914 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.215e-05/0.7821, allocations: 0 / 0.7914 GB, free: 45.75 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.00113/0.7832, allocations: 0.6347 MB / 0.792 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.7833, allocations: 7.875 kB / 0.792 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009411/0.7842, allocations: 165.9 kB / 0.7922 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006526/0.7849, allocations: 323.5 kB / 0.7925 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.7849, allocations: 11.56 kB / 0.7925 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.244e-05/0.7849, allocations: 15.5 kB / 0.7925 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006655/0.7856, allocations: 223.9 kB / 0.7927 GB, free: 45 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.7856, allocations: 0 / 0.7927 GB, free: 45 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.901e-05/0.7857, allocations: 1.562 kB / 0.7927 GB, free: 45 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.7857, allocations: 2.5 kB / 0.7927 GB, free: 45 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009633/0.7867, allocations: 285.8 kB / 0.793 GB, free: 45 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001196/0.7879, allocations: 0.5856 MB / 0.7936 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005293/0.7884, allocations: 169.8 kB / 0.7937 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004719/0.7889, allocations: 157.9 kB / 0.7939 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007632/0.7897, allocations: 0.5479 MB / 0.7944 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.7897, allocations: 38.06 kB / 0.7945 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.7897, allocations: 0 / 0.7945 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.001595/0.7913, allocations: 487.6 kB / 0.7949 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.7914, allocations: 53.38 kB / 0.795 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/0.7916, allocations: 270.6 kB / 0.7952 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.7916, allocations: 25.7 kB / 0.7953 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.311e-05/0.7917, allocations: 147.8 kB / 0.7954 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.596e-05/0.7917, allocations: 47.91 kB / 0.7955 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.649e-05/0.7918, allocations: 40.03 kB / 0.7955 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.544e-05/0.7919, allocations: 339.2 kB / 0.7958 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004863/0.7924, allocations: 145.5 kB / 0.796 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004599/0.7929, allocations: 150.5 kB / 0.7961 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009342/0.7938, allocations: 296 kB / 0.7964 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.7938, allocations: 0 / 0.7964 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001051/0.7949, allocations: 368.5 kB / 0.7967 GB, free: 43.28 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.7949, allocations: 10.5 kB / 0.7967 GB, free: 43.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.7949, allocations: 0 / 0.7967 GB, free: 43.28 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/0.795, allocations: 1.453 kB / 0.7967 GB, free: 43.28 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004536/0.7954, allocations: 72.95 kB / 0.7968 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.7954, allocations: 3.312 kB / 0.7968 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003289/0.7958, allocations: 44.19 kB / 0.7969 GB, free: 43.26 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.941e-05/0.7958, allocations: 12.45 kB / 0.7969 GB, free: 43.26 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 (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.000117/0.7959, allocations: 130.6 kB / 0.797 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.899e-05/0.796, allocations: 30.03 kB / 0.797 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001143/0.7971, allocations: 371.9 kB / 0.7974 GB, free: 43.08 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.064e-06/0.7972, allocations: 0.75 kB / 0.7974 GB, free: 43.08 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.7972, allocations: 4.75 kB / 0.7974 GB, free: 43.08 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.7972, allocations: 5.672 kB / 0.7974 GB, free: 43.07 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003257/0.7975, allocations: 303.4 kB / 0.7977 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.7975, allocations: 0 / 0.7977 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003873/0.7979, allocations: 62.27 kB / 0.7977 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.7979, allocations: 2.188 kB / 0.7977 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.798, allocations: 5.672 kB / 0.7977 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.798, allocations: 4 kB / 0.7977 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.798, allocations: 0 / 0.7977 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.7991, allocations: 452.8 kB / 0.7982 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.7992, allocations: 121.8 kB / 0.7983 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.772e-05/0.7993, allocations: 4.594 kB / 0.7983 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003489/0.7996, allocations: 39.02 kB / 0.7983 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.625e-05/0.7997, allocations: 15.08 kB / 0.7983 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.138e-05/0.7998, allocations: 12.8 kB / 0.7984 GB, free: 42.61 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001615/0.7999, allocations: 190.3 kB / 0.7985 GB, free: 42.53 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7999, allocations: 0 / 0.7985 GB, free: 42.53 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003749/0.8003, allocations: 65.34 kB / 0.7986 GB, free: 42.53 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.0002394/0.8006, allocations: 135.7 kB / 0.7987 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001138/0.8017, allocations: 340.2 kB / 0.7991 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.8017, allocations: 2.062 kB / 0.7991 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005432/0.8023, allocations: 163.2 kB / 0.7992 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005363/0.8028, allocations: 37.11 kB / 0.7993 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.804, allocations: 0.5158 MB / 0.7998 GB, free: 42.15 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/0.8042, allocations: 0.7475 MB / 0.8005 GB, free: 41.45 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.8044, allocations: 30.48 kB / 0.8005 GB, free: 41.45 MB / 0.6544 GB Notification: Performance of SimCode: time 3.4e-07/0.8044, allocations: 0 / 0.8005 GB, free: 41.45 MB / 0.6544 GB Notification: Performance of Templates: time 0.008582/0.813, allocations: 3.729 MB / 0.8042 GB, free: 41.22 MB / 0.6544 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)