Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.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.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL",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.58/1.58, allocations: 252 MB / 267.3 MB, free: 10.82 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.00106/0.00106, allocations: 169.1 kB / 327 MB, free: 2.102 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.937/1.937, 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.0007958/0.0007958, allocations: 76.61 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003776/0.0003778, allocations: 10.97 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2497, allocations: 106.4 MB / 0.9009 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002847/0.2526, allocations: 2.006 MB / 0.9029 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001433/0.2541, allocations: 0.8111 MB / 0.9037 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00018/0.2543, allocations: 4 kB / 0.9037 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000153/0.2544, allocations: 11.86 kB / 0.9037 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003755/0.2548, allocations: 71.66 kB / 0.9037 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.2551, allocations: 43.89 kB / 0.9038 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002837/0.2554, allocations: 191.4 kB / 0.904 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003011/0.2557, allocations: 201.5 kB / 0.9042 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001851/0.2559, allocations: 47.84 kB / 0.9042 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002004/0.2561, allocations: 71.62 kB / 0.9043 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.787e-05/0.2561, allocations: 8 kB / 0.9043 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001651/0.2563, allocations: 59.86 kB / 0.9043 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.037e-05/0.2564, allocations: 35.84 kB / 0.9044 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.739e-05/0.2565, allocations: 89.36 kB / 0.9045 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002536/0.2568, allocations: 163.6 kB / 0.9046 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.2568, allocations: 0 / 0.9046 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2568, allocations: 0 / 0.9046 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.138e-05/0.2568, allocations: 4 kB / 0.9046 GB, free: 59.56 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007403/0.2576, allocations: 478.5 kB / 0.9051 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.2576, allocations: 8.031 kB / 0.9051 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.635e-05/0.2577, allocations: 38.75 kB / 0.9051 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002438/0.2579, allocations: 28.83 kB / 0.9051 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/0.2582, allocations: 208.1 kB / 0.9053 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.426e-05/0.2582, allocations: 42.38 kB / 0.9054 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.248e-05/0.2583, allocations: 15.94 kB / 0.9054 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003189/0.2586, allocations: 155.2 kB / 0.9056 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.2586, allocations: 0 / 0.9056 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.2586, allocations: 0 / 0.9056 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.432e-05/0.2587, allocations: 8 kB / 0.9056 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002462/0.2589, allocations: 91.88 kB / 0.9056 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008957/0.2598, allocations: 0.6402 MB / 0.9063 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/0.2601, allocations: 66.55 kB / 0.9063 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.887e-05/0.2602, allocations: 32.89 kB / 0.9064 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.2602, allocations: 4 kB / 0.9064 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001751/0.2604, allocations: 142.9 kB / 0.9065 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.044e-06/0.2604, allocations: 0 / 0.9065 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003373/0.2607, allocations: 171.1 kB / 0.9067 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/0.2608, allocations: 136.5 kB / 0.9068 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.2609, allocations: 178.8 kB / 0.907 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.261, allocations: 33.7 kB / 0.907 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.547e-05/0.261, allocations: 127.9 kB / 0.9071 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.261, allocations: 31.62 kB / 0.9072 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.019e-05/0.2611, allocations: 8 kB / 0.9072 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.68e-05/0.2611, allocations: 330.7 kB / 0.9075 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.184e-05/0.2612, allocations: 39.97 kB / 0.9075 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.958e-05/0.2613, allocations: 115.7 kB / 0.9076 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002094/0.2615, allocations: 230.3 kB / 0.9078 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.2615, allocations: 0 / 0.9078 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003205/0.2619, allocations: 248.6 kB / 0.9081 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.442e-05/0.2619, allocations: 71.33 kB / 0.9082 GB, free: 55.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.2619, allocations: 4 kB / 0.9082 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.262, allocations: 7.938 kB / 0.9082 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.2621, allocations: 27.98 kB / 0.9082 GB, free: 55.49 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.405e-06/0.2621, allocations: 4.312 kB / 0.9082 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.2622, allocations: 35.83 kB / 0.9082 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.2623, allocations: 7.938 kB / 0.9082 GB, free: 55.44 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,$PRE.voltageControl.ctrl.connected,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.tSwitch) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * 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.0001169/0.2624, allocations: 162.2 kB / 0.9084 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.2624, allocations: 15.84 kB / 0.9084 GB, free: 55.25 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.135e-05/0.2625, allocations: 13.41 kB / 0.9084 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.2625, allocations: 0 / 0.9084 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.2625, allocations: 4 kB / 0.9084 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.2625, allocations: 0 / 0.9084 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001566/0.2626, allocations: 221.4 kB / 0.9086 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.2627, allocations: 4 kB / 0.9086 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.159e-05/0.2627, allocations: 15.92 kB / 0.9087 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.2628, allocations: 3.938 kB / 0.9087 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.2628, allocations: 0 / 0.9087 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.2628, allocations: 4 kB / 0.9087 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.2628, allocations: 0 / 0.9087 GB, free: 54.95 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003401/0.2631, allocations: 214.7 kB / 0.9089 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.695e-05/0.2632, allocations: 88.95 kB / 0.9089 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.938e-05/0.2632, allocations: 7.938 kB / 0.909 GB, free: 54.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.819e-05/0.2633, allocations: 11.98 kB / 0.909 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.501e-05/0.2634, allocations: 16.05 kB / 0.909 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.687e-06/0.2634, allocations: 4 kB / 0.909 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.662e-05/0.2635, allocations: 136.3 kB / 0.9091 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2635, allocations: 3.938 kB / 0.9091 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000236/0.2638, allocations: 32 kB / 0.9092 GB, free: 54.4 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageControl.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch) * Number of discrete states: 4 ($whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0005004/0.2643, allocations: 0.7661 MB / 0.9099 GB, free: 53.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002694/0.2645, allocations: 218.9 kB / 0.9101 GB, free: 53.36 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.2646, allocations: 4.688 kB / 0.9101 GB, free: 53.36 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.575e-05/0.2647, allocations: 107.4 kB / 0.9102 GB, free: 53.24 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.2649, allocations: 20 kB / 0.9102 GB, free: 53.22 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001814/0.2667, allocations: 2.004 MB / 0.9122 GB, free: 51.05 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001759/0.2669, allocations: 0.716 MB / 0.9129 GB, free: 50.31 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.616e-05/0.267, allocations: 28.84 kB / 0.9129 GB, free: 50.29 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.423e-05/0.2671, allocations: 35.42 kB / 0.913 GB, free: 50.25 MB / 0.6042 GB Notification: Performance of SimCode: time 5.21e-07/0.2671, allocations: 0 / 0.913 GB, free: 50.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01361/0.2807, allocations: 2.748 MB / 0.9156 GB, free: 47.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000181/0.281, allocations: 217.7 kB / 0.9158 GB, free: 47.41 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.926/2.207, allocations: 2.812 kB / 0.9158 GB, free: 47.41 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_Utilities_Examples_TestVoltageCTRL.fmu > Buildings_maint.7.0.x_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1)