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.37/2.37, allocations: 390.3 MB / 402.8 MB, free: 6.699 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.001685/0.001685, allocations: 172.9 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.694/1.694, allocations: 221.3 MB / 0.7915 GB, free: 5.461 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.0009754/0.0009754, allocations: 99.88 kB / 0.9318 GB, free: 5.773 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.21e-05/3.216e-05, allocations: 0 / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.3341, allocations: 143 MB / 1.219 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.081/1.415, allocations: 178.5 MB / 1.393 GB, free: 9.773 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/1.415, allocations: 91.53 kB / 1.393 GB, free: 9.723 MB / 0.8542 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.05975/1.475, allocations: 25.7 MB / 1.418 GB, free: 4.309 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.595e-06/1.475, allocations: 0 / 1.418 GB, free: 4.309 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.893e-05/1.475, allocations: 16.2 kB / 1.418 GB, free: 4.293 MB / 0.8698 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.001397/1.477, allocations: 0.6121 MB / 1.419 GB, free: 3.66 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.664e-05/1.477, allocations: 12.03 kB / 1.419 GB, free: 3.648 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001807/1.477, allocations: 71.03 kB / 1.419 GB, free: 3.59 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009936/1.478, allocations: 115.4 kB / 1.419 GB, free: 3.477 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007131/1.479, allocations: 331 kB / 1.419 GB, free: 3.137 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.425e-05/1.479, allocations: 52.23 kB / 1.419 GB, free: 3.09 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.883e-05/1.479, allocations: 38.36 kB / 1.42 GB, free: 3.062 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007824/1.48, allocations: 483.4 kB / 1.42 GB, free: 2.699 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/1.48, allocations: 4 kB / 1.42 GB, free: 2.695 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.145e-05/1.48, allocations: 22.23 kB / 1.42 GB, free: 2.684 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-05/1.48, allocations: 28.72 kB / 1.42 GB, free: 2.656 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005536/1.48, allocations: 349.6 kB / 1.42 GB, free: 2.426 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002684/1.483, allocations: 2.203 MB / 1.423 GB, free: 248 kB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006618/1.484, allocations: 253 kB / 1.423 GB, free: 56 kB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003064/1.484, allocations: 143 kB / 1.423 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.451e-05/1.484, allocations: 3.125 kB / 1.423 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/1.484, allocations: 34.56 kB / 1.423 GB, free: 15.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=19): time 2.234e-06/1.484, allocations: 0 / 1.423 GB, free: 15.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=19): time 0.0006765/1.485, allocations: 271.2 kB / 1.423 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/1.485, allocations: 51.41 kB / 1.423 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/1.485, allocations: 197.4 kB / 1.423 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.301e-05/1.485, allocations: 28.89 kB / 1.423 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/1.485, allocations: 216.6 kB / 1.424 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.381e-05/1.485, allocations: 73.59 kB / 1.424 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.419e-05/1.485, allocations: 7.812 kB / 1.424 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001191/1.485, allocations: 329.8 kB / 1.424 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/1.486, allocations: 76.41 kB / 1.424 GB, free: 14.78 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000172/1.486, allocations: 163 kB / 1.424 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/1.486, allocations: 90.89 kB / 1.424 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/1.486, allocations: 4 kB / 1.424 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006393/1.487, allocations: 349.4 kB / 1.425 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003486/1.487, allocations: 0.9622 MB / 1.426 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/1.487, allocations: 0 / 1.426 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004392/1.487, allocations: 104.6 kB / 1.426 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002125/1.488, allocations: 55.34 kB / 1.426 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002238/1.49, allocations: 2.032 MB / 1.428 GB, free: 11.01 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002709/1.49, allocations: 35.48 kB / 1.428 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.528e-05/1.49, allocations: 8 kB / 1.428 GB, free: 10.97 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/1.49, allocations: 4 kB / 1.428 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005313/1.491, allocations: 282.7 kB / 1.428 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/1.491, allocations: 4 kB / 1.428 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002521/1.491, allocations: 75.05 kB / 1.428 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002214/1.491, allocations: 55.91 kB / 1.428 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001658/1.493, allocations: 1.474 MB / 1.43 GB, free: 9.113 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002381/1.493, allocations: 38.8 kB / 1.43 GB, free: 9.082 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/1.493, allocations: 8 kB / 1.43 GB, free: 9.074 MB / 0.8855 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.0001193/1.493, allocations: 127.1 kB / 1.43 GB, free: 8.949 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.625e-05/1.493, allocations: 23.77 kB / 1.43 GB, free: 8.93 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.042e-05/1.493, allocations: 31.12 kB / 1.43 GB, free: 8.91 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/1.493, allocations: 0 / 1.43 GB, free: 8.91 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/1.493, allocations: 4 kB / 1.43 GB, free: 8.906 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/1.493, allocations: 0 / 1.43 GB, free: 8.906 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001296/1.495, allocations: 0.8016 MB / 1.431 GB, free: 8.156 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/1.495, allocations: 0 / 1.431 GB, free: 8.156 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/1.495, allocations: 38.91 kB / 1.431 GB, free: 8.121 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003368/1.495, allocations: 99.7 kB / 1.431 GB, free: 8.031 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.071e-05/1.495, allocations: 4 kB / 1.431 GB, free: 8.027 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002649/1.498, allocations: 2.801 MB / 1.434 GB, free: 5.105 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/1.498, allocations: 0 / 1.434 GB, free: 5.105 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000596/1.499, allocations: 411.8 kB / 1.434 GB, free: 4.727 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/1.499, allocations: 111.9 kB / 1.434 GB, free: 4.602 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.813e-05/1.499, allocations: 15.25 kB / 1.434 GB, free: 4.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/1.499, allocations: 15.05 kB / 1.434 GB, free: 4.578 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.86e-05/1.499, allocations: 15.23 kB / 1.434 GB, free: 4.566 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/1.499, allocations: 11.56 kB / 1.434 GB, free: 4.559 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001562/1.499, allocations: 159.7 kB / 1.434 GB, free: 4.426 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.51e-07/1.499, allocations: 0 / 1.434 GB, free: 4.426 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0006063/1.5, allocations: 173.5 kB / 1.434 GB, free: 4.266 MB / 0.8855 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.0009676/1.501, allocations: 1.083 MB / 1.435 GB, free: 3.199 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001564/1.502, allocations: 0.6051 MB / 1.436 GB, free: 2.664 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/1.502, allocations: 0 / 1.436 GB, free: 2.664 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006783/1.503, allocations: 359.2 kB / 1.436 GB, free: 2.316 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/1.503, allocations: 45.58 kB / 1.436 GB, free: 2.27 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/1.504, allocations: 0.492 MB / 1.437 GB, free: 1.738 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004139/1.505, allocations: 0.8152 MB / 1.438 GB, free: 0.8945 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002563/1.505, allocations: 70 kB / 1.438 GB, free: 0.8281 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/1.505, allocations: 83.41 kB / 1.438 GB, free: 0.7461 MB / 0.8855 GB Notification: Performance of SimCode: time 4.41e-07/1.505, allocations: 4 kB / 1.438 GB, free: 0.7422 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02148/1.527, allocations: 6.653 MB / 1.444 GB, free: 10.29 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001947/1.527, allocations: 199.1 kB / 1.445 GB, free: 10.05 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2/3.527, allocations: 3.938 kB / 1.445 GB, free: 10.05 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