Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_9_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.247/2.247, allocations: 390.3 MB / 405.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 182 kB / 498.1 MB, free: 5.734 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 223.1 MB / 0.7948 GB, free: 17.95 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.001021, allocations: 100.2 kB / 0.9346 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003902/0.0003901, allocations: 7.594 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3272, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2153/0.5425, allocations: 177.7 MB / 1.396 GB, free: 244 kB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000352/0.5429, allocations: 99.94 kB / 1.397 GB, free: 144 kB / 0.8855 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Electrical/Interfaces/Source.mo:28:9-28: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 9.1.1-maint.9.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 9.1.1-maint.9.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 9.1.1-maint.9.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.05787/0.6008, allocations: 25.89 MB / 1.422 GB, free: 5.875 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.184e-06/0.6008, allocations: 0 / 1.422 GB, free: 5.875 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.93e-05/0.6008, allocations: 12.22 kB / 1.422 GB, free: 5.863 MB / 0.9167 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.001126/0.602, allocations: 0.6321 MB / 1.422 GB, free: 5.18 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.602, allocations: 8.031 kB / 1.423 GB, free: 5.172 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.78e-05/0.6021, allocations: 82.52 kB / 1.423 GB, free: 5.082 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007766/0.6029, allocations: 123.3 kB / 1.423 GB, free: 4.961 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005858/0.6035, allocations: 330 kB / 1.423 GB, free: 4.602 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.464e-05/0.6036, allocations: 50.7 kB / 1.423 GB, free: 4.547 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.375e-05/0.6036, allocations: 39.98 kB / 1.423 GB, free: 4.508 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007784/0.6044, allocations: 0.4891 MB / 1.424 GB, free: 3.996 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.6044, allocations: 3.938 kB / 1.424 GB, free: 3.992 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.791e-05/0.6045, allocations: 15.98 kB / 1.424 GB, free: 3.977 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-05/0.6045, allocations: 32.94 kB / 1.424 GB, free: 3.945 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006628/0.6052, allocations: 387.7 kB / 1.424 GB, free: 3.566 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002339/0.6076, allocations: 2.22 MB / 1.426 GB, free: 1.113 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007368/0.6083, allocations: 270.7 kB / 1.426 GB, free: 0.8398 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.785e-05/0.6083, allocations: 7.938 kB / 1.426 GB, free: 0.832 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.6084, allocations: 38.55 kB / 1.426 GB, free: 0.7852 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=19): time 1.774e-06/0.6084, allocations: 0 / 1.426 GB, free: 0.7852 MB / 0.9167 GB Notification: Performance of matching and sorting (n=19): time 0.00146/0.6099, allocations: 0.5884 MB / 1.427 GB, free: 152 kB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.483e-05/0.6099, allocations: 55.41 kB / 1.427 GB, free: 84 kB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6578/1.268, allocations: 195 kB / 1.427 GB, free: 187.8 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 7.699e-05/1.268, allocations: 31.73 kB / 1.427 GB, free: 187.8 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/1.268, allocations: 210.8 kB / 1.428 GB, free: 187.7 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 7.016e-05/1.268, allocations: 66.83 kB / 1.428 GB, free: 187.6 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.642e-05/1.268, allocations: 7.188 kB / 1.428 GB, free: 187.6 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.451e-05/1.268, allocations: 330.1 kB / 1.428 GB, free: 187.3 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002857/1.268, allocations: 98.45 kB / 1.428 GB, free: 187.3 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002753/1.269, allocations: 186.7 kB / 1.428 GB, free: 187.2 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002694/1.269, allocations: 123.8 kB / 1.428 GB, free: 187.2 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/1.269, allocations: 2.781 kB / 1.428 GB, free: 187.2 MB / 0.9167 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009528/1.27, allocations: 400.8 kB / 1.429 GB, free: 187.2 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001983/1.27, allocations: 0.871 MB / 1.43 GB, free: 186.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/1.27, allocations: 2.594 kB / 1.43 GB, free: 186.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005268/1.271, allocations: 108.5 kB / 1.43 GB, free: 186.2 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002547/1.271, allocations: 51.77 kB / 1.43 GB, free: 186.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002221/1.273, allocations: 2.058 MB / 1.432 GB, free: 184.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003029/1.274, allocations: 38.23 kB / 1.432 GB, free: 184.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.327e-05/1.274, allocations: 15.06 kB / 1.432 GB, free: 184.5 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/1.274, allocations: 3.938 kB / 1.432 GB, free: 184.5 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000795/1.274, allocations: 323 kB / 1.432 GB, free: 184.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/1.274, allocations: 2.875 kB / 1.432 GB, free: 184.4 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000306/1.275, allocations: 83.83 kB / 1.432 GB, free: 184.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000259/1.275, allocations: 60.39 kB / 1.432 GB, free: 184.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001807/1.277, allocations: 1.52 MB / 1.434 GB, free: 183.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002566/1.277, allocations: 27.83 kB / 1.434 GB, free: 183.2 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.474e-05/1.277, allocations: 12.62 kB / 1.434 GB, free: 183.2 MB / 0.9167 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.0002688/1.277, allocations: 250.9 kB / 1.434 GB, free: 183 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.41e-05/1.277, allocations: 23.55 kB / 1.434 GB, free: 183 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.511e-05/1.278, allocations: 36 kB / 1.434 GB, free: 183 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/1.278, allocations: 2.672 kB / 1.434 GB, free: 183 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/1.278, allocations: 0 / 1.434 GB, free: 183 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/1.278, allocations: 4.094 kB / 1.434 GB, free: 183 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004783/1.278, allocations: 369.6 kB / 1.434 GB, free: 182.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/1.278, allocations: 0 / 1.434 GB, free: 182.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001834/1.278, allocations: 37.62 kB / 1.434 GB, free: 182.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003981/1.279, allocations: 100.1 kB / 1.435 GB, free: 182.8 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/1.279, allocations: 4.875 kB / 1.435 GB, free: 182.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002545/1.281, allocations: 2.836 MB / 1.437 GB, free: 180.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.281, allocations: 0.6562 kB / 1.437 GB, free: 180.2 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008353/1.282, allocations: 421.5 kB / 1.438 GB, free: 180.1 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/1.282, allocations: 115.6 kB / 1.438 GB, free: 180 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/1.282, allocations: 1.031 kB / 1.438 GB, free: 180 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001834/1.282, allocations: 22.72 kB / 1.438 GB, free: 180 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.218e-05/1.283, allocations: 22.33 kB / 1.438 GB, free: 180 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/1.283, allocations: 3.625 kB / 1.438 GB, free: 180 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001607/1.283, allocations: 160.8 kB / 1.438 GB, free: 179.9 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1e-07/1.283, allocations: 0 / 1.438 GB, free: 179.9 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0006889/1.283, allocations: 173 kB / 1.438 GB, free: 179.9 MB / 0.9167 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.001076/1.285, allocations: 0.9506 MB / 1.439 GB, free: 179.2 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001897/1.286, allocations: 0.6719 MB / 1.44 GB, free: 178.9 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.286, allocations: 0 / 1.44 GB, free: 178.9 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007571/1.287, allocations: 374.9 kB / 1.44 GB, free: 178.7 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003478/1.288, allocations: 47.8 kB / 1.44 GB, free: 178.7 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003255/1.291, allocations: 3.019 MB / 1.443 GB, free: 176.6 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003511/1.291, allocations: 0.8167 MB / 1.444 GB, free: 175.9 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0002457/1.291, allocations: 57.09 kB / 1.444 GB, free: 175.9 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001753/1.292, allocations: 89.45 kB / 1.444 GB, free: 175.9 MB / 0.9167 GB Notification: Performance of SimCode: time 1.072e-06/1.292, allocations: 7.188 kB / 1.444 GB, free: 175.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02458/1.316, allocations: 6.35 MB / 1.45 GB, free: 175.6 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001535/1.316, allocations: 213.1 kB / 1.45 GB, free: 175.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.86/3.176, allocations: 4.344 kB / 1.45 GB, free: 175.4 MB / 0.9167 GB (rm -f Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad.fmu > Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad_res.mat does not exist to compare? outputFormat=mat