Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel.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.Lines.Examples.RCModel,fileNamePrefix="Buildings_9_Buildings_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_9_Buildings_Electrical_DC_Lines_Examples_RCModel",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.308/2.308, allocations: 387.1 MB / 399.7 MB, free: 9.457 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.0009786/0.0009784, allocations: 165 kB / 492.3 MB, free: 0.6367 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.426/1.426, allocations: 221.3 MB / 0.7871 GB, free: 12.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.0008003/0.0008003, allocations: 91.89 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.777e-05/2.79e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.256, allocations: 142.4 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9091/1.165, allocations: 182.5 MB / 1.391 GB, free: 16.41 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003294/1.166, allocations: 91.38 kB / 1.391 GB, free: 16.39 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Electrical/Transmission/BaseClasses/PartialTwoPortRLC.mo:19:3-19: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/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/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/PartialTwoPortRLC.mo:19:3-19: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);. Notification: Performance of FrontEnd - DAE generated: time 0.05441/1.22, allocations: 25.81 MB / 1.416 GB, free: 12.16 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.144e-06/1.22, allocations: 0 / 1.416 GB, free: 12.16 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.107e-05/1.22, allocations: 11.98 kB / 1.416 GB, free: 12.15 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001284/1.221, allocations: 0.6246 MB / 1.417 GB, free: 11.51 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.486e-05/1.222, allocations: 12.03 kB / 1.417 GB, free: 11.5 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001223/1.222, allocations: 78.89 kB / 1.417 GB, free: 11.43 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/1.223, allocations: 155.2 kB / 1.417 GB, free: 11.28 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006752/1.223, allocations: 340.9 kB / 1.417 GB, free: 10.94 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.578e-05/1.223, allocations: 27.41 kB / 1.417 GB, free: 10.92 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.386e-05/1.224, allocations: 34.38 kB / 1.417 GB, free: 10.89 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008566/1.224, allocations: 0.5113 MB / 1.418 GB, free: 10.49 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/1.224, allocations: 3.938 kB / 1.418 GB, free: 10.48 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.558e-05/1.225, allocations: 18.06 kB / 1.418 GB, free: 10.48 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-05/1.225, allocations: 28.45 kB / 1.418 GB, free: 10.45 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005905/1.225, allocations: 376.4 kB / 1.418 GB, free: 10.2 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002618/1.228, allocations: 2.416 MB / 1.42 GB, free: 7.809 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000501/1.228, allocations: 261.2 kB / 1.421 GB, free: 7.633 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001749/1.228, allocations: 107.9 kB / 1.421 GB, free: 7.559 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/1.229, allocations: 4 kB / 1.421 GB, free: 7.555 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/1.229, allocations: 37.06 kB / 1.421 GB, free: 7.512 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=20): time 1.362e-06/1.229, allocations: 0 / 1.421 GB, free: 7.512 MB / 0.8386 GB Notification: Performance of matching and sorting (n=23): time 0.001785/1.23, allocations: 0.8548 MB / 1.422 GB, free: 6.746 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/1.23, allocations: 55.41 kB / 1.422 GB, free: 6.68 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002819/1.231, allocations: 270.5 kB / 1.422 GB, free: 6.453 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/1.231, allocations: 33.14 kB / 1.422 GB, free: 6.418 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000144/1.231, allocations: 223.3 kB / 1.422 GB, free: 6.234 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.447e-05/1.231, allocations: 83.09 kB / 1.422 GB, free: 6.164 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.405e-05/1.231, allocations: 3.375 kB / 1.422 GB, free: 6.164 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001458/1.231, allocations: 339.2 kB / 1.423 GB, free: 5.836 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/1.231, allocations: 101.3 kB / 1.423 GB, free: 5.77 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002075/1.232, allocations: 185.9 kB / 1.423 GB, free: 5.59 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001956/1.232, allocations: 135.6 kB / 1.423 GB, free: 5.5 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/1.232, allocations: 0 / 1.423 GB, free: 5.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007067/1.232, allocations: 435.8 kB / 1.423 GB, free: 5.152 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/1.232, allocations: 8 kB / 1.423 GB, free: 5.145 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/1.232, allocations: 0 / 1.423 GB, free: 5.145 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003576/1.233, allocations: 102.5 kB / 1.424 GB, free: 5.047 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002655/1.233, allocations: 63.22 kB / 1.424 GB, free: 4.988 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00318/1.236, allocations: 4.061 MB / 1.428 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002086/1.237, allocations: 7.594 kB / 1.428 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.618e-05/1.237, allocations: 19.44 kB / 1.428 GB, free: 0.7148 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 31 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001133/1.237, allocations: 123.2 kB / 1.428 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.025e-05/1.237, allocations: 31.62 kB / 1.428 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.507e-05/1.237, allocations: 39.41 kB / 1.428 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/1.237, allocations: 8.094 kB / 1.428 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/1.237, allocations: 4 kB / 1.428 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/1.237, allocations: 7.969 kB / 1.428 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004745/1.237, allocations: 399.2 kB / 1.428 GB, free: 168 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/1.237, allocations: 0 / 1.428 GB, free: 168 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001887/1.238, allocations: 43.61 kB / 1.428 GB, free: 128 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002778/1.238, allocations: 84.2 kB / 1.428 GB, free: 48 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/1.238, allocations: 7.984 kB / 1.428 GB, free: 40 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002847/1.241, allocations: 4.057 MB / 1.432 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/1.241, allocations: 0 / 1.432 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007703/1.242, allocations: 0.547 MB / 1.433 GB, free: 11.35 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/1.242, allocations: 122.5 kB / 1.433 GB, free: 11.22 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.412e-05/1.242, allocations: 3.25 kB / 1.433 GB, free: 11.22 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001949/1.242, allocations: 19.2 kB / 1.433 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.147e-05/1.242, allocations: 22.55 kB / 1.433 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/1.242, allocations: 15.12 kB / 1.433 GB, free: 11.17 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001895/1.242, allocations: 206.5 kB / 1.433 GB, free: 11.01 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.61e-07/1.242, allocations: 0 / 1.433 GB, free: 11.01 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000447/1.243, allocations: 99.12 kB / 1.433 GB, free: 10.93 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001058/1.244, allocations: 1.091 MB / 1.434 GB, free: 9.926 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000779/1.245, allocations: 0.5948 MB / 1.435 GB, free: 9.379 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.245, allocations: 3.938 kB / 1.435 GB, free: 9.375 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0004725/1.245, allocations: 468.6 kB / 1.435 GB, free: 8.922 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004278/1.245, allocations: 65.09 kB / 1.435 GB, free: 8.871 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/1.247, allocations: 0.5991 MB / 1.436 GB, free: 8.305 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000418/1.247, allocations: 0.8392 MB / 1.437 GB, free: 7.449 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002101/1.247, allocations: 58.92 kB / 1.437 GB, free: 7.395 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/1.247, allocations: 106.9 kB / 1.437 GB, free: 7.363 MB / 0.8542 GB Notification: Performance of SimCode: time 3.4e-07/1.247, allocations: 0 / 1.437 GB, free: 7.363 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02027/1.268, allocations: 7.119 MB / 1.444 GB, free: 436 kB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001761/1.268, allocations: 172.6 kB / 1.444 GB, free: 200 kB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.147/3.415, allocations: 0 / 1.444 GB, free: 200 kB / 0.8542 GB (rm -f Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_DC_Lines_Examples_RCModel_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_DC_Lines_Examples_RCModel.fmu > Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel_res.mat does not exist to compare? outputFormat=mat