Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.251/2.251, allocations: 393.5 MB / 408.4 MB, free: 10.97 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.001168/0.001168, allocations: 191.4 kB / 0.4902 GB, free: 2.234 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.644/1.644, allocations: 223.1 MB / 0.7992 GB, free: 15.73 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.001197/0.001197, allocations: 95.16 kB / 0.9396 GB, free: 2.887 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003648/0.0003648, allocations: 13.22 kB / 1.09 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.2884, allocations: 143 MB / 1.229 GB, free: 85.39 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2177/0.5061, allocations: 178.5 MB / 1.404 GB, free: 2.621 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/0.5064, allocations: 91.94 kB / 1.404 GB, free: 2.531 MB / 0.9011 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0-master/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 10.0.0-master/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 10.0.0-master/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.5851/1.092, allocations: 25.91 MB / 1.429 GB, free: 172.7 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.893e-06/1.092, allocations: 0 / 1.429 GB, free: 172.7 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.877e-05/1.092, allocations: 10.03 kB / 1.429 GB, free: 172.7 MB / 0.9011 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.001192/1.093, allocations: 0.6342 MB / 1.43 GB, free: 172.2 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/1.093, allocations: 9.5 kB / 1.43 GB, free: 172.2 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.386e-05/1.093, allocations: 71.31 kB / 1.43 GB, free: 172.2 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008382/1.094, allocations: 124.3 kB / 1.43 GB, free: 172.1 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000549/1.094, allocations: 329.1 kB / 1.43 GB, free: 171.9 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.597e-05/1.094, allocations: 59 kB / 1.43 GB, free: 171.8 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.852e-05/1.095, allocations: 33.5 kB / 1.43 GB, free: 171.8 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007685/1.095, allocations: 0.4962 MB / 1.431 GB, free: 171.6 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/1.095, allocations: 1.156 kB / 1.431 GB, free: 171.6 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.285e-05/1.095, allocations: 14.69 kB / 1.431 GB, free: 171.6 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-05/1.095, allocations: 30.62 kB / 1.431 GB, free: 171.6 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006553/1.096, allocations: 388.7 kB / 1.431 GB, free: 171.6 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002116/1.098, allocations: 2.213 MB / 1.433 GB, free: 169.7 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007323/1.099, allocations: 275.5 kB / 1.434 GB, free: 169.7 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/1.099, allocations: 2.562 kB / 1.434 GB, free: 169.7 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.798e-05/1.099, allocations: 39.72 kB / 1.434 GB, free: 169.6 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=19): time 2.014e-06/1.099, allocations: 0 / 1.434 GB, free: 169.6 MB / 0.9011 GB Notification: Performance of matching and sorting (n=19): time 0.001366/1.1, allocations: 0.5915 MB / 1.434 GB, free: 169.3 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/1.1, allocations: 60.69 kB / 1.434 GB, free: 169.2 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/1.101, allocations: 201.5 kB / 1.434 GB, free: 169.1 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/1.101, allocations: 30.77 kB / 1.434 GB, free: 169.1 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/1.101, allocations: 206.5 kB / 1.435 GB, free: 168.9 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 4.737e-05/1.101, allocations: 75.31 kB / 1.435 GB, free: 168.9 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.258e-05/1.101, allocations: 5.25 kB / 1.435 GB, free: 168.9 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 5.829e-05/1.101, allocations: 326.7 kB / 1.435 GB, free: 168.5 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002097/1.101, allocations: 100.5 kB / 1.435 GB, free: 168.5 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/1.101, allocations: 185.3 kB / 1.435 GB, free: 168.4 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002441/1.102, allocations: 123.9 kB / 1.435 GB, free: 168.4 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/1.102, allocations: 1.094 kB / 1.435 GB, free: 168.4 MB / 0.9011 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007955/1.102, allocations: 390.7 kB / 1.436 GB, free: 168.2 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001473/1.103, allocations: 0.8759 MB / 1.437 GB, free: 167.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/1.103, allocations: 1.719 kB / 1.437 GB, free: 167.3 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000481/1.103, allocations: 110.7 kB / 1.437 GB, free: 167.3 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002349/1.103, allocations: 52.25 kB / 1.437 GB, free: 167.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00205/1.105, allocations: 2.07 MB / 1.439 GB, free: 165.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002848/1.106, allocations: 42.02 kB / 1.439 GB, free: 165.4 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/1.106, allocations: 8.781 kB / 1.439 GB, free: 165.4 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 8.717e-06/1.106, allocations: 12.48 kB / 1.439 GB, free: 165.3 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007542/1.107, allocations: 322.9 kB / 1.439 GB, free: 165.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/1.107, allocations: 2.469 kB / 1.439 GB, free: 165.3 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002843/1.107, allocations: 82.22 kB / 1.439 GB, free: 165.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002519/1.107, allocations: 59.94 kB / 1.439 GB, free: 165.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001676/1.109, allocations: 1.51 MB / 1.441 GB, free: 163.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002471/1.109, allocations: 33.11 kB / 1.441 GB, free: 163.8 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/1.109, allocations: 11.72 kB / 1.441 GB, free: 163.8 MB / 0.9011 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.000273/1.109, allocations: 251.9 kB / 1.441 GB, free: 163.6 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.31e-05/1.109, allocations: 26.48 kB / 1.441 GB, free: 163.6 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.876e-05/1.109, allocations: 27 kB / 1.441 GB, free: 163.6 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/1.109, allocations: 1.5 kB / 1.441 GB, free: 163.6 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/1.109, allocations: 1.531 kB / 1.441 GB, free: 163.6 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/1.11, allocations: 3.984 kB / 1.441 GB, free: 163.6 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004303/1.11, allocations: 381.6 kB / 1.442 GB, free: 163.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/1.11, allocations: 1.094 kB / 1.442 GB, free: 163.4 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001752/1.11, allocations: 31.92 kB / 1.442 GB, free: 163.3 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003613/1.111, allocations: 104.1 kB / 1.442 GB, free: 163.3 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/1.111, allocations: 1.625 kB / 1.442 GB, free: 163.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002184/1.113, allocations: 2.835 MB / 1.444 GB, free: 160.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/1.113, allocations: 0 / 1.444 GB, free: 160.6 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007318/1.113, allocations: 419.5 kB / 1.445 GB, free: 160.4 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/1.114, allocations: 104.6 kB / 1.445 GB, free: 160.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/1.114, allocations: 17.34 kB / 1.445 GB, free: 160.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/1.114, allocations: 8.375 kB / 1.445 GB, free: 160.3 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.887e-05/1.114, allocations: 19.44 kB / 1.445 GB, free: 160.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/1.114, allocations: 11.69 kB / 1.445 GB, free: 160.3 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001423/1.114, allocations: 161.3 kB / 1.445 GB, free: 160.2 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.1e-07/1.114, allocations: 0 / 1.445 GB, free: 160.2 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0006829/1.115, allocations: 172.9 kB / 1.445 GB, free: 160.2 MB / 0.9011 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.0009668/1.116, allocations: 0.9501 MB / 1.446 GB, free: 159.4 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001783/1.118, allocations: 0.6722 MB / 1.447 GB, free: 159.1 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.118, allocations: 5.125 kB / 1.447 GB, free: 159.1 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0007314/1.118, allocations: 374.9 kB / 1.447 GB, free: 158.8 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/1.119, allocations: 50.75 kB / 1.447 GB, free: 158.8 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002724/1.121, allocations: 3.023 MB / 1.45 GB, free: 156.4 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/1.122, allocations: 0.8228 MB / 1.451 GB, free: 155.7 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002169/1.122, allocations: 56.77 kB / 1.451 GB, free: 155.6 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/1.122, allocations: 90.98 kB / 1.451 GB, free: 155.6 MB / 0.9011 GB Notification: Performance of SimCode: time 5.01e-07/1.122, allocations: 0 / 1.451 GB, free: 155.6 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02031/1.142, allocations: 6.36 MB / 1.457 GB, free: 152.5 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002087/1.143, allocations: 211 kB / 1.458 GB, free: 152.3 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.748/2.891, allocations: 4.438 kB / 1.458 GB, free: 152.3 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_DC_Loads_Examples_LinearizedLoad.fmu > Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad_res.mat does not exist to compare? outputFormat=mat