Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.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.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",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.508/1.508, allocations: 252 MB / 267.3 MB, free: 10.85 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.001074/0.001074, allocations: 174.9 kB / 327 MB, free: 2.098 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.807/1.807, 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.0007515/0.0007518, allocations: 86.3 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003539/0.0003539, allocations: 10.66 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2302, allocations: 106.3 MB / 0.9009 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.002553/0.2328, allocations: 2.031 MB / 0.9029 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001815/0.2347, allocations: 1.207 MB / 0.9041 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001431/0.2348, allocations: 7.938 kB / 0.9041 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006141/0.2355, allocations: 219.1 kB / 0.9043 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002862/0.2358, allocations: 127.5 kB / 0.9044 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002978/0.2361, allocations: 126.1 kB / 0.9045 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003075/0.2364, allocations: 302.9 kB / 0.9048 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001854/0.2366, allocations: 76.7 kB / 0.9049 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.2367, allocations: 103.4 kB / 0.905 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.2369, allocations: 135.3 kB / 0.9051 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.327e-05/0.2369, allocations: 4 kB / 0.9051 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.237, allocations: 31.94 kB / 0.9052 GB, free: 59 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001476/0.2372, allocations: 107.6 kB / 0.9053 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001328/0.2373, allocations: 184.4 kB / 0.9054 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000384/0.2377, allocations: 450.4 kB / 0.9059 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.2377, allocations: 0 / 0.9059 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.725e-06/0.2377, allocations: 4 kB / 0.9059 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.2378, allocations: 0 / 0.9059 GB, free: 58.26 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.001036/0.2388, allocations: 0.7115 MB / 0.9066 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.253e-05/0.2389, allocations: 12.03 kB / 0.9066 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.908e-05/0.2389, allocations: 50.73 kB / 0.9066 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.615e-05/0.239, allocations: 52.28 kB / 0.9067 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004457/0.2395, allocations: 399.8 kB / 0.9071 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.2395, allocations: 8.375 kB / 0.9071 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.112e-05/0.2396, allocations: 15.94 kB / 0.9071 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002531/0.2398, allocations: 130.2 kB / 0.9072 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.2398, allocations: 3.984 kB / 0.9072 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.2399, allocations: 4 kB / 0.9072 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.2399, allocations: 4 kB / 0.9072 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001599/0.24, allocations: 75.97 kB / 0.9073 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008776/0.2409, allocations: 0.6329 MB / 0.9079 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003784/0.2413, allocations: 122.7 kB / 0.908 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.889e-05/0.2414, allocations: 44.8 kB / 0.9081 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.781e-05/0.2414, allocations: 3.984 kB / 0.9081 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002451/0.2417, allocations: 103.2 kB / 0.9082 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 1.473e-06/0.2417, allocations: 0 / 0.9082 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.0003695/0.2421, allocations: 204.9 kB / 0.9084 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.2421, allocations: 51.41 kB / 0.9084 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005049/0.2426, allocations: 0.6357 MB / 0.909 GB, free: 54.81 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.2427, allocations: 29.7 kB / 0.9091 GB, free: 54.78 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.2428, allocations: 244.3 kB / 0.9093 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.089e-05/0.2428, allocations: 39.53 kB / 0.9093 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.069e-05/0.2429, allocations: 7.875 kB / 0.9093 GB, free: 54.49 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.109e-05/0.2429, allocations: 370.8 kB / 0.9097 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.2431, allocations: 75.98 kB / 0.9098 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.2432, allocations: 117.5 kB / 0.9099 GB, free: 53.92 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/0.2434, allocations: 131.7 kB / 0.91 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2434, allocations: 0 / 0.91 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003317/0.2438, allocations: 268.2 kB / 0.9103 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.2438, allocations: 8 kB / 0.9103 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2438, allocations: 0 / 0.9103 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.2438, allocations: 0 / 0.9103 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.2439, allocations: 31.97 kB / 0.9103 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.244, allocations: 8 kB / 0.9103 GB, free: 53.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001651/0.2441, allocations: 35.83 kB / 0.9103 GB, free: 53.44 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.563e-05/0.2442, allocations: 8 kB / 0.9104 GB, free: 53.43 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.PEleDem.tab.nextTimeEvent,assPow.assMesP.u,assPow.assMesDP.u,$PRE.assPow.maxPow.y,assPow.maxPow.y,$PRE.assPow.minPow.y,assPow.minPow.y,PEleDem.tab.nextTimeEvent,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0001718/0.2443, allocations: 205.7 kB / 0.9105 GB, free: 53.22 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.559e-05/0.2444, allocations: 51.34 kB / 0.9106 GB, free: 53.17 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.188e-05/0.2445, allocations: 60.5 kB / 0.9107 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.2445, allocations: 0 / 0.9107 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.2445, allocations: 0 / 0.9107 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.2445, allocations: 0 / 0.9107 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002756/0.2448, allocations: 361.4 kB / 0.911 GB, free: 52.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2448, allocations: 0 / 0.911 GB, free: 52.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.59e-05/0.2449, allocations: 15.92 kB / 0.911 GB, free: 52.69 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.2449, allocations: 0 / 0.911 GB, free: 52.69 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.2449, allocations: 4 kB / 0.911 GB, free: 52.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.2449, allocations: 4 kB / 0.911 GB, free: 52.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2449, allocations: 0 / 0.911 GB, free: 52.68 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003788/0.2453, allocations: 248.3 kB / 0.9113 GB, free: 52.42 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.221e-05/0.2454, allocations: 128.4 kB / 0.9114 GB, free: 52.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.345e-05/0.2454, allocations: 8 kB / 0.9114 GB, free: 52.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.2456, allocations: 15.98 kB / 0.9114 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.4e-05/0.2456, allocations: 19.97 kB / 0.9114 GB, free: 52.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.2457, allocations: 12.06 kB / 0.9114 GB, free: 52.22 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003417/0.246, allocations: 414.8 kB / 0.9118 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2e-07/0.246, allocations: 3.938 kB / 0.9118 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002439/0.2463, allocations: 48 kB / 0.9119 GB, free: 51.77 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (assPow.demRat.x) * Number of discrete variables: 7 ($whenCondition1,assPow.assMesP.u,assPow.assMesDP.u,assPow.maxPow.y,assPow.minPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 4 (PEleDem.tab.nextTimeEventScaled,assPow.minPow.y,assPow.maxPow.y,PEleDem.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001411/0.2477, allocations: 1.104 MB / 0.913 GB, free: 50.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002803/0.248, allocations: 147.8 kB / 0.9131 GB, free: 50.65 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.248, allocations: 0 / 0.9131 GB, free: 50.65 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.982e-05/0.2481, allocations: 59.91 kB / 0.9132 GB, free: 50.59 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003942/0.2485, allocations: 60.8 kB / 0.9132 GB, free: 50.54 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003586/0.2521, allocations: 3.886 MB / 0.917 GB, free: 46.54 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002622/0.2524, allocations: 0.8496 MB / 0.9178 GB, free: 45.66 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001087/0.2525, allocations: 46.14 kB / 0.9179 GB, free: 45.62 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001591/0.2527, allocations: 151.4 kB / 0.918 GB, free: 45.47 MB / 0.6042 GB Notification: Performance of SimCode: time 3.11e-07/0.2527, allocations: 0 / 0.918 GB, free: 45.47 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01794/0.2706, allocations: 7.997 MB / 0.9258 GB, free: 37.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000167/0.2708, allocations: 263.8 kB / 0.9261 GB, free: 37.33 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.293/2.564, allocations: 0 / 0.9261 GB, free: 37.33 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.fmu > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)