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.531/1.531, 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.001164/0.001165, allocations: 192.7 kB / 326.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.225/2.225, allocations: 205.4 MB / 0.5775 GB, free: 20.2 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.001168/0.001168, allocations: 92.23 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004051/0.0004052, allocations: 8.75 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3586, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.232/0.5907, allocations: 148.5 MB / 1.045 GB, free: 11.11 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003188/0.5911, allocations: 79.95 kB / 1.045 GB, free: 11.04 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.01429/0.6054, allocations: 5.691 MB / 1.051 GB, free: 5.266 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.803e-06/0.6054, allocations: 4 kB / 1.051 GB, free: 5.262 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.678e-05/0.6055, allocations: 7.984 kB / 1.051 GB, free: 5.254 MB / 0.698 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.0006794/0.6062, allocations: 482.4 kB / 1.051 GB, free: 4.719 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/0.6062, allocations: 8.031 kB / 1.051 GB, free: 4.711 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.887e-05/0.6063, allocations: 42.55 kB / 1.051 GB, free: 4.66 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002181/0.6065, allocations: 23.81 kB / 1.051 GB, free: 4.637 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002773/0.6068, allocations: 208 kB / 1.052 GB, free: 4.395 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.7e-05/0.6069, allocations: 41.88 kB / 1.052 GB, free: 4.348 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.136e-05/0.6069, allocations: 12 kB / 1.052 GB, free: 4.336 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003067/0.6072, allocations: 154.8 kB / 1.052 GB, free: 4.172 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.6072, allocations: 0 / 1.052 GB, free: 4.172 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.215e-05/0.6073, allocations: 8 kB / 1.052 GB, free: 4.164 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.769e-05/0.6073, allocations: 8.141 kB / 1.052 GB, free: 4.156 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002058/0.6075, allocations: 96.44 kB / 1.052 GB, free: 4.062 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008942/0.6084, allocations: 0.6333 MB / 1.053 GB, free: 3.367 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002347/0.6087, allocations: 54.55 kB / 1.053 GB, free: 3.305 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.6087, allocations: 64 / 1.053 GB, free: 3.305 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002104/0.6089, allocations: 154.8 kB / 1.053 GB, free: 3.129 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.6089, allocations: 0 / 1.053 GB, free: 3.129 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0004395/0.6094, allocations: 236.3 kB / 1.053 GB, free: 2.867 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.6095, allocations: 144.5 kB / 1.053 GB, free: 2.695 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.6097, allocations: 165.9 kB / 1.053 GB, free: 2.527 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.6097, allocations: 29.64 kB / 1.053 GB, free: 2.492 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.678e-05/0.6098, allocations: 135.9 kB / 1.053 GB, free: 2.352 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.119e-05/0.6099, allocations: 31.62 kB / 1.053 GB, free: 2.32 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.582e-06/0.6099, allocations: 0 / 1.053 GB, free: 2.32 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.61, allocations: 326.8 kB / 1.054 GB, free: 1.992 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.619e-05/0.6101, allocations: 43.91 kB / 1.054 GB, free: 1.949 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.6103, allocations: 105.4 kB / 1.054 GB, free: 1.812 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.6104, allocations: 111.3 kB / 1.054 GB, free: 1.691 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.6104, allocations: 0 / 1.054 GB, free: 1.691 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003507/0.6108, allocations: 241 kB / 1.054 GB, free: 1.438 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.077e-05/0.6108, allocations: 65.59 kB / 1.054 GB, free: 1.363 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.6108, allocations: 0 / 1.054 GB, free: 1.363 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.6109, allocations: 4 kB / 1.054 GB, free: 1.359 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.611, allocations: 31.94 kB / 1.054 GB, free: 1.328 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.611, allocations: 11.92 kB / 1.054 GB, free: 1.316 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.6112, allocations: 23.84 kB / 1.054 GB, free: 1.293 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.538e-05/0.6112, allocations: 8 kB / 1.054 GB, free: 1.285 MB / 0.698 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 0.0001488/0.6113, allocations: 169.3 kB / 1.055 GB, free: 1.109 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.288e-05/0.6114, allocations: 15.81 kB / 1.055 GB, free: 1.094 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.76e-05/0.6114, allocations: 17.39 kB / 1.055 GB, free: 1.078 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.6114, allocations: 0 / 1.055 GB, free: 1.078 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.6114, allocations: 3.953 kB / 1.055 GB, free: 1.074 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.6114, allocations: 0 / 1.055 GB, free: 1.074 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001916/0.6116, allocations: 209.6 kB / 1.055 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.6116, allocations: 0 / 1.055 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.384e-05/0.6117, allocations: 15.94 kB / 1.055 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.6118, allocations: 8.031 kB / 1.055 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.6118, allocations: 4 kB / 1.055 GB, free: 0.793 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.6118, allocations: 3.984 kB / 1.055 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.6118, allocations: 7.938 kB / 1.055 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003806/0.6122, allocations: 214.6 kB / 1.055 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.6123, allocations: 96.88 kB / 1.055 GB, free: 444 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.086e-05/0.6123, allocations: 8 kB / 1.055 GB, free: 436 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.125e-05/0.6124, allocations: 8 kB / 1.055 GB, free: 428 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.638e-05/0.6125, allocations: 7.984 kB / 1.055 GB, free: 420 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.6125, allocations: 7.984 kB / 1.055 GB, free: 412 kB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001065/0.6126, allocations: 135.2 kB / 1.055 GB, free: 276 kB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6126, allocations: 0 / 1.055 GB, free: 276 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002411/0.6129, allocations: 39.86 kB / 1.055 GB, free: 236 kB / 0.698 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.6328/1.246, allocations: 0.7471 MB / 1.056 GB, free: 151.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004038/1.246, allocations: 219.1 kB / 1.056 GB, free: 151.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/1.246, allocations: 0 / 1.056 GB, free: 151.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001319/1.246, allocations: 105.9 kB / 1.056 GB, free: 151.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/1.247, allocations: 16.69 kB / 1.056 GB, free: 151.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0019/1.249, allocations: 2.427 MB / 1.059 GB, free: 149.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002091/1.249, allocations: 0.7172 MB / 1.059 GB, free: 148.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.972e-05/1.249, allocations: 18.86 kB / 1.059 GB, free: 148.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.429e-05/1.249, allocations: 39.92 kB / 1.059 GB, free: 148.4 MB / 0.698 GB Notification: Performance of SimCode: time 4.91e-07/1.249, allocations: 0 / 1.059 GB, free: 148.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01443/1.263, allocations: 2.663 MB / 1.062 GB, free: 148.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001904/1.264, allocations: 198.4 kB / 1.062 GB, free: 148 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.811/3.075, allocations: 0 / 1.062 GB, free: 148 MB / 0.698 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)