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.001315/0.001315, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001632/0.001632, allocations: 194.9 kB / 16.25 MB, free: 6.621 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.595/1.595, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.676/1.676, allocations: 292.2 MB / 0.5485 GB, free: 13.66 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.001365/0.001365, allocations: 65.8 kB / 0.671 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2122, allocations: 114.6 MB / 0.7829 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.00355/0.2157, allocations: 2.197 MB / 0.785 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004652/0.2204, allocations: 3.749 MB / 0.7887 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001618/0.2206, allocations: 3.938 kB / 0.7887 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002907/0.2209, allocations: 43.75 kB / 0.7887 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003977/0.2214, allocations: 119.2 kB / 0.7888 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003824/0.2218, allocations: 127.8 kB / 0.7889 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003976/0.2222, allocations: 310.9 kB / 0.7892 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.2223, allocations: 60.69 kB / 0.7893 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000271/0.2226, allocations: 135.5 kB / 0.7894 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001971/0.2228, allocations: 143.4 kB / 0.7896 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.447e-05/0.2229, allocations: 20 kB / 0.7896 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000249/0.2231, allocations: 135.8 kB / 0.7897 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.894e-05/0.2232, allocations: 55.77 kB / 0.7898 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001209/0.2233, allocations: 123.3 kB / 0.7899 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004292/0.2238, allocations: 334.9 kB / 0.7902 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.2238, allocations: 3.984 kB / 0.7902 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2238, allocations: 0 / 0.7902 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.116e-05/0.2238, allocations: 0 / 0.7902 GB, free: 6.332 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001243/0.2251, allocations: 0.6385 MB / 0.7908 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.2251, allocations: 8.031 kB / 0.7908 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009206/0.226, allocations: 164.4 kB / 0.791 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007106/0.2267, allocations: 324.3 kB / 0.7913 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.2268, allocations: 12.5 kB / 0.7913 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.271e-05/0.2268, allocations: 15.94 kB / 0.7913 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006613/0.2275, allocations: 222.2 kB / 0.7915 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.2275, allocations: 0 / 0.7915 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.22e-05/0.2275, allocations: 0 / 0.7915 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.2275, allocations: 4 kB / 0.7915 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009137/0.2285, allocations: 283.7 kB / 0.7918 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001277/0.2297, allocations: 0.5861 MB / 0.7924 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005221/0.2303, allocations: 170.4 kB / 0.7926 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004657/0.2308, allocations: 160.7 kB / 0.7927 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008576/0.2316, allocations: 0.5415 MB / 0.7932 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.2317, allocations: 38.5 kB / 0.7933 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.813e-06/0.2317, allocations: 4 kB / 0.7933 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.001632/0.2333, allocations: 488 kB / 0.7937 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.2334, allocations: 55.41 kB / 0.7938 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002566/0.2336, allocations: 264.6 kB / 0.794 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.402e-05/0.2337, allocations: 29.7 kB / 0.7941 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.578e-05/0.2338, allocations: 155.9 kB / 0.7942 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.028e-05/0.2338, allocations: 43.31 kB / 0.7943 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.189e-05/0.2339, allocations: 37.69 kB / 0.7943 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.2341, allocations: 342.8 kB / 0.7946 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004818/0.2346, allocations: 147.9 kB / 0.7948 GB, free: 1.336 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004707/0.235, allocations: 147.9 kB / 0.7949 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009391/0.236, allocations: 292.5 kB / 0.7952 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.236, allocations: 0 / 0.7952 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001073/0.2371, allocations: 367.5 kB / 0.7955 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.2371, allocations: 4 kB / 0.7955 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.2371, allocations: 0 / 0.7955 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.2371, allocations: 4 kB / 0.7955 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004595/0.2376, allocations: 79.84 kB / 0.7956 GB, free: 464 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.2376, allocations: 0 / 0.7956 GB, free: 464 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003291/0.2379, allocations: 47.73 kB / 0.7957 GB, free: 416 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.841e-05/0.238, allocations: 15.98 kB / 0.7957 GB, free: 400 kB / 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 (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.0001452/0.2381, allocations: 122.5 kB / 0.7958 GB, free: 268 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.221e-05/0.2382, allocations: 27.62 kB / 0.7958 GB, free: 240 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00119/0.2394, allocations: 375.2 kB / 0.7962 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.2394, allocations: 11.94 kB / 0.7962 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.2394, allocations: 0 / 0.7962 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.315e-05/0.2394, allocations: 3.938 kB / 0.7962 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003286/0.2398, allocations: 297.5 kB / 0.7965 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.2398, allocations: 0 / 0.7965 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003849/0.2402, allocations: 59.92 kB / 0.7965 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.2402, allocations: 0 / 0.7965 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.491e-05/0.2402, allocations: 11.98 kB / 0.7966 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.2402, allocations: 0 / 0.7966 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2402, allocations: 0 / 0.7966 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.2413, allocations: 454.8 kB / 0.797 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.2415, allocations: 120.7 kB / 0.7971 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.61e-05/0.2415, allocations: 4 kB / 0.7971 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003391/0.2419, allocations: 43.94 kB / 0.7971 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.372e-05/0.242, allocations: 11.98 kB / 0.7972 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.218e-05/0.242, allocations: 11.92 kB / 0.7972 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001666/0.2422, allocations: 187.1 kB / 0.7973 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2422, allocations: 0 / 0.7973 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003516/0.2425, allocations: 64 kB / 0.7974 GB, free: 14.52 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 (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.0002431/0.2428, allocations: 139.2 kB / 0.7975 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00109/0.2439, allocations: 331 kB / 0.7979 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2439, allocations: 0 / 0.7979 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005118/0.2444, allocations: 167.8 kB / 0.798 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004573/0.2449, allocations: 36.56 kB / 0.7981 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.2459, allocations: 0.5601 MB / 0.7986 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.2463, allocations: 0.7474 MB / 0.7993 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002613/0.2465, allocations: 57.31 kB / 0.7994 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.2467, allocations: 23.42 kB / 0.7994 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of SimCode: time 4.51e-07/0.2467, allocations: 0 / 0.7994 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of Templates: time 0.006311/0.253, allocations: 3.046 MB / 0.8024 GB, free: 9.398 MB / 0.6231 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)