Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.492/2.492, allocations: 284.9 MB / 292.4 MB, free: 10.58 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.001475/0.001475, allocations: 180.9 kB / 360.6 MB, free: 7.277 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.133/2.133, allocations: 205.3 MB / 0.6191 GB, free: 12.19 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.001032/0.001031, allocations: 95.84 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.183e-05/2.182e-05, allocations: 0 / 0.8509 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7893/0.7894, allocations: 115.3 MB / 0.9634 GB, free: 78.59 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.277/1.066, allocations: 165.2 MB / 1.125 GB, free: 7.25 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003041/1.067, allocations: 87.89 kB / 1.125 GB, free: 7.164 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0/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.0.0/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.0.0/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.07314/1.14, allocations: 17.68 MB / 1.142 GB, free: 5.398 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.953e-06/1.14, allocations: 0 / 1.142 GB, free: 5.398 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.991e-05/1.14, allocations: 8 kB / 1.142 GB, free: 5.391 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.001596/1.142, allocations: 0.6114 MB / 1.143 GB, free: 4.73 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.779e-05/1.142, allocations: 12.03 kB / 1.143 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001342/1.143, allocations: 120.1 kB / 1.143 GB, free: 4.602 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009573/1.144, allocations: 328.8 kB / 1.143 GB, free: 4.242 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.602e-05/1.144, allocations: 46.42 kB / 1.143 GB, free: 4.191 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.883e-05/1.144, allocations: 22.81 kB / 1.143 GB, free: 4.172 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008843/1.145, allocations: 309.4 kB / 1.144 GB, free: 3.871 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/1.146, allocations: 428.8 kB / 1.144 GB, free: 3.426 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.889e-05/1.146, allocations: 4.156 kB / 1.144 GB, free: 3.422 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.835e-05/1.146, allocations: 4 kB / 1.144 GB, free: 3.418 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.508e-05/1.146, allocations: 34.77 kB / 1.144 GB, free: 3.387 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003979/1.15, allocations: 2.125 MB / 1.146 GB, free: 1.043 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/1.152, allocations: 247 kB / 1.146 GB, free: 0.793 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004431/1.152, allocations: 132.8 kB / 1.146 GB, free: 0.6602 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.57e-05/1.152, allocations: 7.984 kB / 1.146 GB, free: 0.6523 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/1.152, allocations: 34.56 kB / 1.146 GB, free: 0.6094 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=19): time 2.645e-06/1.152, allocations: 4 kB / 1.146 GB, free: 0.6055 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19): time 0.0009835/1.153, allocations: 243 kB / 1.147 GB, free: 364 kB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/1.153, allocations: 55.41 kB / 1.147 GB, free: 296 kB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002788/1.153, allocations: 178.8 kB / 1.147 GB, free: 112 kB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.774e-05/1.154, allocations: 25.7 kB / 1.147 GB, free: 80 kB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002077/1.154, allocations: 215.9 kB / 1.147 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 8.517e-05/1.154, allocations: 63.05 kB / 1.147 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.753e-05/1.154, allocations: 0 / 1.147 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001587/1.154, allocations: 334.8 kB / 1.148 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001994/1.154, allocations: 71.98 kB / 1.148 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002857/1.155, allocations: 164.1 kB / 1.148 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000251/1.155, allocations: 94.84 kB / 1.148 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/1.155, allocations: 3.938 kB / 1.148 GB, free: 15.1 MB / 0.7605 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00112/1.156, allocations: 310.8 kB / 1.148 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004731/1.156, allocations: 0.9601 MB / 1.149 GB, free: 13.75 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/1.156, allocations: 0 / 1.149 GB, free: 13.75 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007055/1.157, allocations: 105.6 kB / 1.149 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004344/1.158, allocations: 55.91 kB / 1.149 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003226/1.161, allocations: 1.965 MB / 1.151 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000467/1.161, allocations: 39.77 kB / 1.151 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.399e-05/1.161, allocations: 8 kB / 1.151 GB, free: 11.44 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/1.161, allocations: 8.875 kB / 1.151 GB, free: 11.43 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008551/1.162, allocations: 243.2 kB / 1.151 GB, free: 11.19 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/1.162, allocations: 4 kB / 1.151 GB, free: 11.19 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000456/1.163, allocations: 80.89 kB / 1.152 GB, free: 11.11 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004723/1.163, allocations: 53.97 kB / 1.152 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00268/1.166, allocations: 1.42 MB / 1.153 GB, free: 9.523 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004456/1.167, allocations: 27.83 kB / 1.153 GB, free: 9.496 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.894e-05/1.167, allocations: 12.06 kB / 1.153 GB, free: 9.484 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.0001681/1.167, allocations: 104.9 kB / 1.153 GB, free: 9.375 MB / 0.7605 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009034/1.168, allocations: 250.9 kB / 1.153 GB, free: 9.117 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.281e-05/1.168, allocations: 19.81 kB / 1.153 GB, free: 9.098 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.129e-05/1.168, allocations: 25.95 kB / 1.153 GB, free: 9.074 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/1.168, allocations: 8 kB / 1.153 GB, free: 9.066 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/1.168, allocations: 0 / 1.153 GB, free: 9.066 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/1.168, allocations: 0 / 1.153 GB, free: 9.066 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001766/1.17, allocations: 0.7267 MB / 1.154 GB, free: 8.273 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/1.17, allocations: 0 / 1.154 GB, free: 8.273 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002796/1.17, allocations: 36.08 kB / 1.154 GB, free: 8.238 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005998/1.171, allocations: 97.69 kB / 1.154 GB, free: 8.137 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.284e-05/1.171, allocations: 0 / 1.154 GB, free: 8.137 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004026/1.175, allocations: 2.68 MB / 1.157 GB, free: 5.227 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/1.175, allocations: 0 / 1.157 GB, free: 5.227 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/1.176, allocations: 392.4 kB / 1.157 GB, free: 4.805 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001786/1.176, allocations: 112.8 kB / 1.157 GB, free: 4.676 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.903e-05/1.176, allocations: 4.141 kB / 1.157 GB, free: 4.672 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002956/1.176, allocations: 15.92 kB / 1.157 GB, free: 4.656 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/1.177, allocations: 31.47 kB / 1.157 GB, free: 4.629 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/1.177, allocations: 4 kB / 1.157 GB, free: 4.625 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001855/1.177, allocations: 144.2 kB / 1.157 GB, free: 4.484 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4.41e-07/1.177, allocations: 0 / 1.157 GB, free: 4.484 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0009199/1.178, allocations: 163.3 kB / 1.158 GB, free: 4.324 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * 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.001413/1.179, allocations: 1.052 MB / 1.159 GB, free: 3.227 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.002537/1.182, allocations: 0.5714 MB / 1.159 GB, free: 2.637 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/1.182, allocations: 0.9375 kB / 1.159 GB, free: 2.637 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001158/1.183, allocations: 339.6 kB / 1.16 GB, free: 2.285 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005445/1.183, allocations: 39.92 kB / 1.16 GB, free: 2.246 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/1.185, allocations: 481.2 kB / 1.16 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000553/1.186, allocations: 0.8185 MB / 1.161 GB, free: 0.8828 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.000441/1.186, allocations: 57.45 kB / 1.161 GB, free: 0.8281 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001884/1.186, allocations: 91.41 kB / 1.161 GB, free: 0.7383 MB / 0.7605 GB Notification: Performance of SimCode: time 1.082e-06/1.186, allocations: 0 / 1.161 GB, free: 0.7383 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0483/1.235, allocations: 5.916 MB / 1.167 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003795/1.235, allocations: 140.3 kB / 1.167 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.574/3.809, allocations: 2.625 kB / 1.167 GB, free: 10.75 MB / 0.7761 GB (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad.fmu > Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)