Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_maint_7_0_x_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,fileNamePrefix="Buildings_maint_7_0_x_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain",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.456/1.456, allocations: 252 MB / 267.3 MB, free: 10.79 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.00114/0.00114, allocations: 179.5 kB / 327 MB, free: 2.082 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.95/1.95, allocations: 205.4 MB / 0.578 GB, free: 20.1 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.000803/0.000803, allocations: 101.5 kB / 0.6826 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003472/0.0003472, allocations: 14.31 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.2426, allocations: 106.3 MB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.00176/0.2444, allocations: 1.254 MB / 0.9021 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001082/0.2445, allocations: 31.84 kB / 0.9022 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.88e-05/0.2446, allocations: 0 / 0.9022 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001349/0.2447, allocations: 15.92 kB / 0.9022 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.157e-05/0.2447, allocations: 0 / 0.9022 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001073/0.2449, allocations: 15.98 kB / 0.9022 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.528e-05/0.245, allocations: 51.78 kB / 0.9023 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.2451, allocations: 27.97 kB / 0.9023 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.064e-05/0.2451, allocations: 19.92 kB / 0.9023 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.928e-05/0.2452, allocations: 15.86 kB / 0.9023 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.746e-05/0.2452, allocations: 8 kB / 0.9023 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.628e-06/0.2453, allocations: 0 / 0.9023 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.817e-05/0.2453, allocations: 15.98 kB / 0.9023 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.587e-05/0.2454, allocations: 45.52 kB / 0.9024 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.316e-05/0.2455, allocations: 55.78 kB / 0.9024 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.2455, allocations: 0 / 0.9024 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.515e-06/0.2455, allocations: 0 / 0.9024 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.2455, allocations: 0 / 0.9024 GB, free: 61.82 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003516/0.2458, allocations: 351.7 kB / 0.9028 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.2459, allocations: 8.031 kB / 0.9028 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.78e-05/0.2459, allocations: 46.73 kB / 0.9028 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.504e-05/0.246, allocations: 8.844 kB / 0.9028 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.2461, allocations: 184.2 kB / 0.903 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.2461, allocations: 8.359 kB / 0.903 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.2462, allocations: 4.375 kB / 0.903 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.2463, allocations: 104.7 kB / 0.9031 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.2463, allocations: 3.938 kB / 0.9031 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.2463, allocations: 0 / 0.9031 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.2463, allocations: 8 kB / 0.9031 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.045e-05/0.2464, allocations: 43.91 kB / 0.9032 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004571/0.2469, allocations: 0.6401 MB / 0.9038 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.384e-05/0.2469, allocations: 173.1 kB / 0.904 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.975e-05/0.247, allocations: 80.14 kB / 0.904 GB, free: 60 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.247, allocations: 75.28 kB / 0.9041 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.247, allocations: 109.8 kB / 0.9042 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.247, allocations: 4 kB / 0.9042 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 6.565e-05/0.2471, allocations: 37.55 kB / 0.9043 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.2471, allocations: 130.6 kB / 0.9044 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.2473, allocations: 176.3 kB / 0.9045 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.2473, allocations: 25.7 kB / 0.9046 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.593e-05/0.2474, allocations: 104 kB / 0.9047 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.2474, allocations: 0 / 0.9047 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/0.2474, allocations: 0 / 0.9047 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.299e-05/0.2474, allocations: 326.8 kB / 0.905 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.1e-05/0.2475, allocations: 0 / 0.905 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.611e-05/0.2475, allocations: 22.58 kB / 0.905 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.611e-05/0.2475, allocations: 34.5 kB / 0.905 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2475, allocations: 0 / 0.905 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001044/0.2476, allocations: 57.55 kB / 0.9051 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.2477, allocations: 4 kB / 0.9051 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.2477, allocations: 3.938 kB / 0.9051 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.2477, allocations: 4 kB / 0.9051 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.921e-05/0.2477, allocations: 7.984 kB / 0.9051 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.2478, allocations: 0 / 0.9051 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.281e-05/0.2478, allocations: 7.938 kB / 0.9051 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.2478, allocations: 0 / 0.9051 GB, free: 58.81 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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 7.713e-05/0.2479, allocations: 193.2 kB / 0.9053 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.155e-05/0.2479, allocations: 112.8 kB / 0.9054 GB, free: 58.49 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.379e-05/0.248, allocations: 124.7 kB / 0.9055 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.112e-05/0.248, allocations: 180.3 kB / 0.9057 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.389e-05/0.2481, allocations: 180.2 kB / 0.9059 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.963e-05/0.2481, allocations: 176.3 kB / 0.906 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001657/0.2483, allocations: 433.1 kB / 0.9065 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-05/0.2483, allocations: 105 kB / 0.9066 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.817e-05/0.2483, allocations: 109 kB / 0.9067 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.04e-05/0.2483, allocations: 184.4 kB / 0.9068 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.27e-05/0.2484, allocations: 184.2 kB / 0.907 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.215e-05/0.2484, allocations: 188.2 kB / 0.9072 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.623e-05/0.2485, allocations: 176.3 kB / 0.9074 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.803e-05/0.2485, allocations: 315.7 kB / 0.9077 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.194e-05/0.2486, allocations: 182 kB / 0.9078 GB, free: 55.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.024e-05/0.2486, allocations: 192.1 kB / 0.908 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.228e-05/0.2487, allocations: 112.9 kB / 0.9081 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.437e-05/0.2487, allocations: 176.3 kB / 0.9083 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.2488, allocations: 104.9 kB / 0.9084 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.413e-05/0.2488, allocations: 130.7 kB / 0.9085 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2488, allocations: 0 / 0.9085 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001894/0.249, allocations: 8 kB / 0.9085 GB, free: 55.1 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 (0): * Single equations (assignments): 0 * 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.0002595/0.2493, allocations: 0.8165 MB / 0.9093 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 5.349e-05/0.2494, allocations: 7.938 kB / 0.9093 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2494, allocations: 0 / 0.9093 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.402e-06/0.2494, allocations: 0 / 0.9093 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.2497, allocations: 0.5265 MB / 0.9098 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.2507, allocations: 1.663 MB / 0.9115 GB, free: 51.96 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001215/0.2509, allocations: 0.6887 MB / 0.9121 GB, free: 51.24 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.984e-05/0.2509, allocations: 7.859 kB / 0.9121 GB, free: 51.23 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.574e-05/0.2509, allocations: 19.42 kB / 0.9122 GB, free: 51.22 MB / 0.6042 GB Notification: Performance of SimCode: time 2e-07/0.2509, allocations: 0 / 0.9122 GB, free: 51.22 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01098/0.2619, allocations: 1.493 MB / 0.9136 GB, free: 49.89 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001766/0.2622, allocations: 228.5 kB / 0.9138 GB, free: 49.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.909/2.171, allocations: 1.406 kB / 0.9138 GB, free: 49.64 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.fmu > Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1)