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.466/1.466, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001117/0.001117, allocations: 171.5 kB / 326.5 MB, free: 2.234 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.979/1.979, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0008663/0.0008663, allocations: 95.67 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003304/0.0003304, allocations: 9 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2351, allocations: 106.3 MB / 0.9001 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002299/0.2374, allocations: 1.948 MB / 0.902 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009359/0.2384, allocations: 0.7647 MB / 0.9028 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.591e-05/0.2385, allocations: 4 kB / 0.9028 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001055/0.2386, allocations: 19.86 kB / 0.9028 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000175/0.2388, allocations: 43.91 kB / 0.9029 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001314/0.2389, allocations: 39.83 kB / 0.9029 GB, free: 61 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.2391, allocations: 87.81 kB / 0.903 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002465/0.2393, allocations: 189.8 kB / 0.9032 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.684e-05/0.2394, allocations: 51.83 kB / 0.9032 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.2396, allocations: 47.77 kB / 0.9033 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.2396, allocations: 8 kB / 0.9033 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.007e-05/0.2397, allocations: 27.92 kB / 0.9033 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.168e-05/0.2397, allocations: 27.91 kB / 0.9033 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.154e-05/0.2398, allocations: 49.64 kB / 0.9034 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.2399, allocations: 119.9 kB / 0.9035 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2399, allocations: 0 / 0.9035 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2399, allocations: 4 kB / 0.9035 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.24, allocations: 4 kB / 0.9035 GB, free: 60.36 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.0005267/0.2405, allocations: 478.3 kB / 0.9039 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.2405, allocations: 8.031 kB / 0.9039 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.307e-05/0.2406, allocations: 42.55 kB / 0.904 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002/0.2408, allocations: 31.84 kB / 0.904 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.241, allocations: 208.9 kB / 0.9042 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.527e-05/0.241, allocations: 41.89 kB / 0.9043 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.2411, allocations: 8 kB / 0.9043 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002314/0.2413, allocations: 146.9 kB / 0.9044 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.2413, allocations: 0 / 0.9044 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.2413, allocations: 11.94 kB / 0.9044 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.792e-05/0.2414, allocations: 4.188 kB / 0.9044 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000172/0.2415, allocations: 92.5 kB / 0.9045 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006558/0.2422, allocations: 0.6412 MB / 0.9051 GB, free: 58.48 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000199/0.2424, allocations: 66.5 kB / 0.9052 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.2424, allocations: 0 / 0.9052 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001569/0.2426, allocations: 146.9 kB / 0.9053 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.2426, allocations: 7.938 kB / 0.9053 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003216/0.2429, allocations: 252.2 kB / 0.9056 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.243, allocations: 132.5 kB / 0.9057 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.2431, allocations: 174.9 kB / 0.9059 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.2431, allocations: 33.7 kB / 0.9059 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.38e-05/0.2432, allocations: 135.7 kB / 0.906 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.2432, allocations: 27.73 kB / 0.9061 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.554e-06/0.2432, allocations: 4 kB / 0.9061 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.079e-05/0.2433, allocations: 322.8 kB / 0.9064 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.914e-05/0.2434, allocations: 39.98 kB / 0.9064 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.351e-05/0.2435, allocations: 117.3 kB / 0.9065 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.623e-05/0.2436, allocations: 107.3 kB / 0.9066 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2436, allocations: 0 / 0.9066 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002949/0.2439, allocations: 244.8 kB / 0.9069 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.306e-05/0.2439, allocations: 67.44 kB / 0.9069 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.2439, allocations: 4 kB / 0.9069 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.244, allocations: 4 kB / 0.9069 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.2441, allocations: 31.92 kB / 0.907 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.2441, allocations: 7.984 kB / 0.907 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.2442, allocations: 23.84 kB / 0.907 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.2442, allocations: 8 kB / 0.907 GB, free: 56.36 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.175e-05/0.2443, allocations: 168.5 kB / 0.9072 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.843e-05/0.2443, allocations: 19.8 kB / 0.9072 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.578e-05/0.2444, allocations: 17.39 kB / 0.9072 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.2444, allocations: 4 kB / 0.9072 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2444, allocations: 0 / 0.9072 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.2444, allocations: 0 / 0.9072 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001107/0.2445, allocations: 217.6 kB / 0.9074 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2445, allocations: 0 / 0.9074 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.296e-05/0.2446, allocations: 8 kB / 0.9074 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.2446, allocations: 7.984 kB / 0.9074 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.2446, allocations: 11.89 kB / 0.9074 GB, free: 55.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2446, allocations: 0 / 0.9074 GB, free: 55.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2446, allocations: 0 / 0.9074 GB, free: 55.85 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002964/0.2449, allocations: 218.6 kB / 0.9076 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.15e-05/0.245, allocations: 96.95 kB / 0.9077 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/0.245, allocations: 0 / 0.9077 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.741e-05/0.2451, allocations: 27.94 kB / 0.9078 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.222e-05/0.2452, allocations: 7.984 kB / 0.9078 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.2452, allocations: 0 / 0.9078 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.839e-05/0.2453, allocations: 131.2 kB / 0.9079 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2453, allocations: 0 / 0.9079 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000219/0.2455, allocations: 32 kB / 0.9079 GB, free: 55.3 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 (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.0004152/0.2459, allocations: 0.7584 MB / 0.9087 GB, free: 54.51 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002358/0.2462, allocations: 222.9 kB / 0.9089 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2462, allocations: 0 / 0.9089 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.491e-05/0.2463, allocations: 115.3 kB / 0.909 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001592/0.2464, allocations: 15.95 kB / 0.909 GB, free: 54.13 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.2477, allocations: 2.431 MB / 0.9114 GB, free: 51.6 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001215/0.2479, allocations: 0.7235 MB / 0.9121 GB, free: 50.85 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.102e-05/0.2479, allocations: 20.58 kB / 0.9121 GB, free: 50.82 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.313e-05/0.248, allocations: 39.42 kB / 0.9121 GB, free: 50.79 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.248, allocations: 0 / 0.9121 GB, free: 50.79 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01309/0.2611, allocations: 2.706 MB / 0.9148 GB, free: 48.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001544/0.2613, allocations: 195.1 kB / 0.915 GB, free: 48.01 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.682/1.943, allocations: 0 / 0.915 GB, free: 48.01 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)