Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.694/1.694, allocations: 292.6 MB / 307.5 MB, free: 5.227 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001345/0.001344, allocations: 188.5 kB / 377.1 MB, free: 1.52 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.694/1.694, allocations: 205.4 MB / 0.6366 GB, free: 8.625 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008468/0.0008468, allocations: 94.02 kB / 0.7509 GB, free: 63.06 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003409/0.0003409, allocations: 12 kB / 0.8749 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2641, allocations: 116.3 MB / 0.9884 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8006/1.065, allocations: 167.1 MB / 1.152 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003074/1.065, allocations: 90.62 kB / 1.152 GB, free: 13.21 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Electrical/DC/Sensors/GeneralizedSensor.mo:39:3-39:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.04087/1.106, allocations: 17.88 MB / 1.169 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.503e-06/1.106, allocations: 0 / 1.169 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.054e-05/1.106, allocations: 8 kB / 1.169 GB, free: 13.34 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001267/1.107, allocations: 0.6411 MB / 1.17 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.958e-05/1.107, allocations: 12.02 kB / 1.17 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001235/1.108, allocations: 74.53 kB / 1.17 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008404/1.108, allocations: 115.4 kB / 1.17 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006831/1.109, allocations: 334.8 kB / 1.17 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.049e-05/1.109, allocations: 50.92 kB / 1.17 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.813e-05/1.109, allocations: 31.98 kB / 1.17 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/1.11, allocations: 0.4979 MB / 1.171 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.853e-05/1.11, allocations: 3.938 kB / 1.171 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.713e-05/1.11, allocations: 19.98 kB / 1.171 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.449e-05/1.111, allocations: 24.98 kB / 1.171 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007525/1.111, allocations: 387.6 kB / 1.171 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002964/1.114, allocations: 2.218 MB / 1.173 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008378/1.115, allocations: 278.6 kB / 1.174 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.159e-05/1.115, allocations: 0 / 1.174 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/1.115, allocations: 38.75 kB / 1.174 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=19): time 1.863e-06/1.115, allocations: 4 kB / 1.174 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19): time 0.00157/1.117, allocations: 0.581 MB / 1.174 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/1.117, allocations: 63.36 kB / 1.174 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002249/1.117, allocations: 208 kB / 1.175 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/1.117, allocations: 29.7 kB / 1.175 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/1.117, allocations: 207.7 kB / 1.175 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.459e-05/1.117, allocations: 63.09 kB / 1.175 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.537e-05/1.117, allocations: 8 kB / 1.175 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001496/1.118, allocations: 334.8 kB / 1.175 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002193/1.118, allocations: 103.7 kB / 1.175 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002705/1.118, allocations: 174.4 kB / 1.175 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002505/1.118, allocations: 126.5 kB / 1.176 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/1.118, allocations: 4 kB / 1.176 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008547/1.119, allocations: 399.7 kB / 1.176 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.000375/1.12, allocations: 0.8692 MB / 1.177 GB, free: 4.938 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/1.12, allocations: 3.984 kB / 1.177 GB, free: 4.934 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005182/1.12, allocations: 105.6 kB / 1.177 GB, free: 4.824 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002464/1.12, allocations: 64.78 kB / 1.177 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002561/1.123, allocations: 2.065 MB / 1.179 GB, free: 2.547 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00029/1.123, allocations: 35.73 kB / 1.179 GB, free: 2.512 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/1.123, allocations: 8 kB / 1.179 GB, free: 2.504 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/1.123, allocations: 4 kB / 1.179 GB, free: 2.5 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007274/1.124, allocations: 320.4 kB / 1.179 GB, free: 2.184 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/1.124, allocations: 4 kB / 1.179 GB, free: 2.18 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002798/1.124, allocations: 73.08 kB / 1.179 GB, free: 2.105 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000242/1.125, allocations: 63.83 kB / 1.179 GB, free: 2.043 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001941/1.126, allocations: 1.517 MB / 1.181 GB, free: 408 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000281/1.127, allocations: 31.77 kB / 1.181 GB, free: 376 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/1.127, allocations: 12.06 kB / 1.181 GB, free: 364 kB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003281/1.127, allocations: 255.4 kB / 1.181 GB, free: 100 kB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.753e-05/1.127, allocations: 23.72 kB / 1.181 GB, free: 76 kB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.519e-05/1.127, allocations: 30.17 kB / 1.181 GB, free: 40 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/1.127, allocations: 4 kB / 1.181 GB, free: 36 kB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/1.127, allocations: 0 / 1.181 GB, free: 36 kB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/1.127, allocations: 0 / 1.181 GB, free: 36 kB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004758/1.128, allocations: 377.2 kB / 1.182 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/1.128, allocations: 0.6875 kB / 1.182 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000167/1.128, allocations: 35.97 kB / 1.182 GB, free: 15.58 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003821/1.128, allocations: 109.6 kB / 1.182 GB, free: 15.47 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/1.128, allocations: 0 / 1.182 GB, free: 15.47 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002897/1.131, allocations: 2.832 MB / 1.185 GB, free: 12.38 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.131, allocations: 3.938 kB / 1.185 GB, free: 12.37 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008197/1.132, allocations: 420.9 kB / 1.185 GB, free: 11.94 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/1.132, allocations: 108.8 kB / 1.185 GB, free: 11.81 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.863e-05/1.132, allocations: 8.688 kB / 1.185 GB, free: 11.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001801/1.133, allocations: 15.98 kB / 1.185 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.977e-05/1.133, allocations: 19.92 kB / 1.185 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.251e-05/1.133, allocations: 11.94 kB / 1.185 GB, free: 11.76 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001727/1.133, allocations: 160.5 kB / 1.185 GB, free: 11.6 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.5e-07/1.133, allocations: 4 kB / 1.185 GB, free: 11.6 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0006706/1.134, allocations: 167.3 kB / 1.185 GB, free: 11.43 MB / 0.7605 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001121/1.135, allocations: 0.9504 MB / 1.186 GB, free: 10.45 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001931/1.137, allocations: 0.6667 MB / 1.187 GB, free: 9.762 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/1.137, allocations: 0.5 kB / 1.187 GB, free: 9.762 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0007799/1.137, allocations: 369.2 kB / 1.187 GB, free: 9.375 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/1.138, allocations: 61.66 kB / 1.187 GB, free: 9.316 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003427/1.141, allocations: 3.021 MB / 1.19 GB, free: 6.199 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004519/1.142, allocations: 0.8191 MB / 1.191 GB, free: 5.355 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.000242/1.142, allocations: 63.25 kB / 1.191 GB, free: 5.293 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/1.142, allocations: 87.95 kB / 1.191 GB, free: 5.207 MB / 0.7605 GB Notification: Performance of SimCode: time 5.81e-07/1.142, allocations: 0 / 1.191 GB, free: 5.207 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01952/1.162, allocations: 6.363 MB / 1.198 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001867/1.162, allocations: 210 kB / 1.198 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.828/2.99, allocations: 0 / 1.198 GB, free: 14.82 MB / 0.7761 GB (rm -f Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad.fmu > Buildings_8_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)