Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.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.Conversion.Examples.DCDCConverter,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter",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.445/2.445, allocations: 390.5 MB / 398 MB, free: 10.89 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.001976/0.001976, allocations: 168.9 kB / 491.2 MB, free: 1.547 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.799/1.799, allocations: 221.5 MB / 0.7868 GB, free: 13.28 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.0009936/0.0009932, allocations: 94.45 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.718e-05/1.722e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.312, allocations: 143 MB / 1.212 GB, free: 39.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.085/1.397, allocations: 180.7 MB / 1.389 GB, free: 16.31 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/1.398, allocations: 84.3 kB / 1.389 GB, free: 16.3 MB / 0.823 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/DC/Conversion/DCDCConverter.mo:26:3-26:46:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal_n.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Electrical/DC/Conversion/DCDCConverter.mo:27:3-27:46:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal_p.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);. Notification: Performance of FrontEnd - DAE generated: time 0.04149/1.439, allocations: 20.66 MB / 1.409 GB, free: 18.77 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.592e-06/1.439, allocations: 4 kB / 1.409 GB, free: 18.76 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.03e-05/1.439, allocations: 8 kB / 1.409 GB, free: 18.75 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0007904/1.44, allocations: 0.5466 MB / 1.41 GB, free: 18.18 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/1.44, allocations: 12.03 kB / 1.41 GB, free: 18.17 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007848/1.441, allocations: 111.5 kB / 1.41 GB, free: 18.06 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003449/1.441, allocations: 271.3 kB / 1.41 GB, free: 17.78 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.96e-05/1.441, allocations: 41.83 kB / 1.41 GB, free: 17.73 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.558e-05/1.441, allocations: 12 kB / 1.41 GB, free: 17.72 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003784/1.442, allocations: 267.6 kB / 1.41 GB, free: 17.55 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004532/1.442, allocations: 368.4 kB / 1.411 GB, free: 17.24 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/1.442, allocations: 4 kB / 1.411 GB, free: 17.24 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.906e-05/1.442, allocations: 0 / 1.411 GB, free: 17.24 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.669e-05/1.442, allocations: 23.48 kB / 1.411 GB, free: 17.22 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001841/1.444, allocations: 2.038 MB / 1.413 GB, free: 15.17 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004439/1.444, allocations: 176.7 kB / 1.413 GB, free: 15.04 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002607/1.445, allocations: 117.4 kB / 1.413 GB, free: 14.95 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.779e-05/1.445, allocations: 4 kB / 1.413 GB, free: 14.94 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/1.445, allocations: 38.52 kB / 1.413 GB, free: 14.89 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=17): time 1.472e-06/1.445, allocations: 7.875 kB / 1.413 GB, free: 14.89 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17): time 0.0003547/1.445, allocations: 152.3 kB / 1.413 GB, free: 14.76 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/1.445, allocations: 55.41 kB / 1.413 GB, free: 14.7 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/1.445, allocations: 175.5 kB / 1.413 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/1.446, allocations: 25.7 kB / 1.413 GB, free: 14.51 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/1.446, allocations: 188.8 kB / 1.414 GB, free: 14.34 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.295e-05/1.446, allocations: 65.47 kB / 1.414 GB, free: 14.29 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.036e-05/1.446, allocations: 0 / 1.414 GB, free: 14.29 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001543/1.446, allocations: 328.1 kB / 1.414 GB, free: 13.96 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.047e-05/1.446, allocations: 52.05 kB / 1.414 GB, free: 13.93 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001882/1.446, allocations: 161.3 kB / 1.414 GB, free: 13.75 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/1.446, allocations: 83.48 kB / 1.414 GB, free: 13.69 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/1.446, allocations: 0 / 1.414 GB, free: 13.69 MB / 0.8386 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003654/1.447, allocations: 236.3 kB / 1.414 GB, free: 13.49 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006183/1.447, allocations: 1.315 MB / 1.416 GB, free: 12.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/1.447, allocations: 4 kB / 1.416 GB, free: 12.1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/1.447, allocations: 4 kB / 1.416 GB, free: 12.09 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004161/1.448, allocations: 71.89 kB / 1.416 GB, free: 12.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001049/1.449, allocations: 1.263 MB / 1.417 GB, free: 10.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002534/1.449, allocations: 31.67 kB / 1.417 GB, free: 10.65 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/1.449, allocations: 8 kB / 1.417 GB, free: 10.64 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.437e-06/1.449, allocations: 7.953 kB / 1.417 GB, free: 10.63 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002889/1.449, allocations: 181.9 kB / 1.417 GB, free: 10.49 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-06/1.449, allocations: 4 kB / 1.417 GB, free: 10.49 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.433e-06/1.449, allocations: 8 kB / 1.417 GB, free: 10.48 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003892/1.45, allocations: 67.91 kB / 1.417 GB, free: 10.42 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008963/1.451, allocations: 1.257 MB / 1.419 GB, free: 9.082 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001733/1.451, allocations: 27.89 kB / 1.419 GB, free: 9.055 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/1.451, allocations: 12 kB / 1.419 GB, free: 9.043 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001287/1.451, allocations: 118 kB / 1.419 GB, free: 8.926 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002497/1.451, allocations: 159.7 kB / 1.419 GB, free: 8.789 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.847e-05/1.451, allocations: 15.81 kB / 1.419 GB, free: 8.773 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.944e-05/1.452, allocations: 25.64 kB / 1.419 GB, free: 8.762 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/1.452, allocations: 4 kB / 1.419 GB, free: 8.758 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.52e-07/1.452, allocations: 0 / 1.419 GB, free: 8.758 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/1.452, allocations: 0 / 1.419 GB, free: 8.758 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008791/1.452, allocations: 0.6462 MB / 1.42 GB, free: 8.117 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/1.452, allocations: 4 kB / 1.42 GB, free: 8.113 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003566/1.453, allocations: 52.12 kB / 1.42 GB, free: 8.062 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.547e-05/1.453, allocations: 7.984 kB / 1.42 GB, free: 8.055 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/1.453, allocations: 0 / 1.42 GB, free: 8.055 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.95e-06/1.453, allocations: 7.938 kB / 1.42 GB, free: 8.047 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/1.453, allocations: 0 / 1.42 GB, free: 8.047 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003435/1.453, allocations: 343.7 kB / 1.42 GB, free: 7.688 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.919e-05/1.453, allocations: 108.7 kB / 1.42 GB, free: 7.566 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/1.453, allocations: 4 kB / 1.42 GB, free: 7.562 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/1.453, allocations: 12 kB / 1.42 GB, free: 7.551 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.05e-05/1.454, allocations: 23.72 kB / 1.42 GB, free: 7.531 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/1.454, allocations: 4 kB / 1.42 GB, free: 7.527 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000106/1.454, allocations: 130.5 kB / 1.42 GB, free: 7.414 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.61e-07/1.454, allocations: 0 / 1.42 GB, free: 7.414 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005555/1.454, allocations: 115.5 kB / 1.42 GB, free: 7.301 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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): 17 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008063/1.455, allocations: 1.219 MB / 1.422 GB, free: 6.062 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006787/1.456, allocations: 263.9 kB / 1.422 GB, free: 5.867 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.456, allocations: 0.5625 kB / 1.422 GB, free: 5.867 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000272/1.456, allocations: 79.09 kB / 1.422 GB, free: 5.805 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/1.456, allocations: 32.88 kB / 1.422 GB, free: 5.781 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009607/1.457, allocations: 402.4 kB / 1.422 GB, free: 5.367 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004334/1.458, allocations: 0.7796 MB / 1.423 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002212/1.458, allocations: 66 kB / 1.423 GB, free: 4.508 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.89e-05/1.458, allocations: 76.97 kB / 1.423 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.458, allocations: 0 / 1.423 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02535/1.484, allocations: 3.928 MB / 1.427 GB, free: 0.582 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002267/1.484, allocations: 148.9 kB / 1.427 GB, free: 400 kB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.813/3.297, allocations: 0 / 1.427 GB, free: 400 kB / 0.8386 GB (rm -f Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter.fmu > Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter_res.mat does not exist to compare? outputFormat=mat