Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.428/1.428, allocations: 252 MB / 267 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001054/0.001054, allocations: 171.3 kB / 326.6 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.569/1.569, allocations: 205.4 MB / 0.5777 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007628/0.0007629, allocations: 90.3 kB / 0.6823 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.00035/0.0003501, allocations: 8.688 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.2258, allocations: 106.3 MB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002519/0.2284, allocations: 1.671 MB / 0.9019 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004623/0.2331, allocations: 3.458 MB / 0.9053 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002013/0.2333, allocations: 0 / 0.9053 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000281/0.2336, allocations: 43.69 kB / 0.9054 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004281/0.2341, allocations: 95.41 kB / 0.9054 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004346/0.2345, allocations: 99.81 kB / 0.9055 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003548/0.2349, allocations: 227 kB / 0.9058 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.2351, allocations: 36.58 kB / 0.9058 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003084/0.2354, allocations: 95.61 kB / 0.9059 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001784/0.2356, allocations: 95.59 kB / 0.906 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.845e-05/0.2357, allocations: 8 kB / 0.906 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000255/0.2359, allocations: 107.8 kB / 0.9061 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.784e-05/0.236, allocations: 39.83 kB / 0.9061 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.811e-05/0.2361, allocations: 53.58 kB / 0.9062 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002607/0.2363, allocations: 179.8 kB / 0.9063 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.2363, allocations: 0 / 0.9063 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.016e-06/0.2364, allocations: 4 kB / 0.9064 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.2364, allocations: 0 / 0.9064 GB, free: 57.57 MB / 0.6042 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.001142/0.2375, allocations: 0.584 MB / 0.9069 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.2376, allocations: 12.03 kB / 0.9069 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.292e-05/0.2376, allocations: 34.56 kB / 0.907 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.124e-05/0.2377, allocations: 23.72 kB / 0.907 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004167/0.2381, allocations: 266.5 kB / 0.9072 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.2382, allocations: 12 kB / 0.9073 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/0.2382, allocations: 4 kB / 0.9073 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004945/0.2387, allocations: 190.7 kB / 0.9074 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.2387, allocations: 0 / 0.9074 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.304e-05/0.2387, allocations: 11.98 kB / 0.9075 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.2387, allocations: 3.938 kB / 0.9075 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006648/0.2394, allocations: 231.8 kB / 0.9077 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008536/0.2403, allocations: 496.5 kB / 0.9081 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004011/0.2407, allocations: 158.4 kB / 0.9083 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003421/0.2411, allocations: 128.7 kB / 0.9084 GB, free: 55.28 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008222/0.2419, allocations: 0.5806 MB / 0.909 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.2419, allocations: 30.78 kB / 0.909 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.453e-06/0.2419, allocations: 3.938 kB / 0.909 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.001178/0.2431, allocations: 417.1 kB / 0.9094 GB, free: 54.13 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.2432, allocations: 55.41 kB / 0.9095 GB, free: 54.06 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001997/0.2434, allocations: 234.7 kB / 0.9097 GB, free: 53.82 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.2434, allocations: 25.7 kB / 0.9097 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.124e-05/0.2435, allocations: 140 kB / 0.9099 GB, free: 53.65 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.071e-05/0.2435, allocations: 31.5 kB / 0.9099 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.197e-05/0.2435, allocations: 4 kB / 0.9099 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.2437, allocations: 330.8 kB / 0.9102 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003406/0.244, allocations: 119.9 kB / 0.9103 GB, free: 53.17 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003209/0.2443, allocations: 119.8 kB / 0.9104 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000327/0.2447, allocations: 119.9 kB / 0.9105 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2447, allocations: 0 / 0.9105 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007309/0.2454, allocations: 301.8 kB / 0.9108 GB, free: 52.63 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.2454, allocations: 4 kB / 0.9108 GB, free: 52.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.2455, allocations: 0 / 0.9108 GB, free: 52.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.2455, allocations: 0 / 0.9108 GB, free: 52.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003117/0.2458, allocations: 63.88 kB / 0.9109 GB, free: 52.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.2458, allocations: 0 / 0.9109 GB, free: 52.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002252/0.246, allocations: 39.86 kB / 0.9109 GB, free: 52.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.948e-05/0.2461, allocations: 11.94 kB / 0.9109 GB, free: 52.52 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001195/0.2462, allocations: 125.8 kB / 0.9111 GB, free: 52.38 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.088e-05/0.2463, allocations: 23.75 kB / 0.9111 GB, free: 52.36 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00084/0.2471, allocations: 331.2 kB / 0.9114 GB, free: 52.04 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/0.2471, allocations: 0 / 0.9114 GB, free: 52.04 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.2471, allocations: 0 / 0.9114 GB, free: 52.04 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.2471, allocations: 7.984 kB / 0.9114 GB, free: 52.03 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.2474, allocations: 269.4 kB / 0.9117 GB, free: 51.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.2474, allocations: 0 / 0.9117 GB, free: 51.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002895/0.2477, allocations: 55.94 kB / 0.9117 GB, free: 51.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.732e-06/0.2477, allocations: 7.953 kB / 0.9117 GB, free: 51.65 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.2477, allocations: 4 kB / 0.9117 GB, free: 51.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.2478, allocations: 0 / 0.9117 GB, free: 51.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2478, allocations: 3.938 kB / 0.9117 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007673/0.2485, allocations: 403 kB / 0.9121 GB, free: 51.23 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.507e-05/0.2486, allocations: 112.8 kB / 0.9122 GB, free: 51.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.756e-05/0.2487, allocations: 7.938 kB / 0.9122 GB, free: 51.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002489/0.2489, allocations: 35.97 kB / 0.9123 GB, free: 51.06 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.433e-05/0.249, allocations: 23.97 kB / 0.9123 GB, free: 51.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.2491, allocations: 3.938 kB / 0.9123 GB, free: 51.04 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001359/0.2492, allocations: 170 kB / 0.9125 GB, free: 50.87 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2492, allocations: 0 / 0.9125 GB, free: 50.87 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003274/0.2495, allocations: 55.98 kB / 0.9125 GB, free: 50.82 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001165/0.2507, allocations: 0.9632 MB / 0.9135 GB, free: 49.82 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007113/0.2514, allocations: 259.7 kB / 0.9137 GB, free: 49.57 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.2514, allocations: 0 / 0.9137 GB, free: 49.57 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003739/0.2518, allocations: 139.8 kB / 0.9138 GB, free: 49.43 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004167/0.2523, allocations: 36.34 kB / 0.9139 GB, free: 49.39 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002541/0.2548, allocations: 1.473 MB / 0.9153 GB, free: 47.87 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.2551, allocations: 0.7353 MB / 0.916 GB, free: 47.11 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002049/0.2553, allocations: 40.83 kB / 0.9161 GB, free: 47.07 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.2554, allocations: 71.33 kB / 0.9161 GB, free: 47 MB / 0.6042 GB Notification: Performance of SimCode: time 5.91e-07/0.2554, allocations: 0 / 0.9161 GB, free: 47 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01731/0.2728, allocations: 4.401 MB / 0.9204 GB, free: 42.81 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001624/0.273, allocations: 220.4 kB / 0.9206 GB, free: 42.57 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.849/2.122, allocations: 1.719 kB / 0.9206 GB, free: 42.57 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)