Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.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.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource",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.556/2.556, 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.001562/0.001562, allocations: 182.3 kB / 0.4901 GB, free: 2.23 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.636/1.636, allocations: 223.1 MB / 0.7992 GB, free: 14.63 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.0009698/0.0009696, allocations: 98.16 kB / 0.9396 GB, free: 1.801 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003573/0.0003576, allocations: 17.72 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3285, allocations: 143 MB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2222/0.5508, allocations: 170.7 MB / 1.396 GB, free: 14.59 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003046/0.5511, allocations: 99.94 kB / 1.396 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.035/0.5862, allocations: 13.59 MB / 1.409 GB, free: 0.7617 MB / 0.9011 GB Notification: Performance of FrontEnd: time 4.318e-06/0.5862, allocations: 4 kB / 1.409 GB, free: 0.7578 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.768e-05/0.5862, allocations: 0 / 1.409 GB, free: 0.7578 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007409/0.587, allocations: 475.2 kB / 1.41 GB, free: 252 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.587, allocations: 8.031 kB / 1.41 GB, free: 244 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.091e-05/0.5871, allocations: 54.53 kB / 1.41 GB, free: 180 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000621/0.5878, allocations: 71.64 kB / 1.41 GB, free: 108 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003334/0.5881, allocations: 230.7 kB / 1.41 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.5881, allocations: 12 kB / 1.41 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.91e-05/0.5882, allocations: 8 kB / 1.41 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004503/0.5886, allocations: 278.5 kB / 1.41 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.5887, allocations: 0 / 1.41 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.661e-05/0.5887, allocations: 8 kB / 1.41 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.661e-05/0.5887, allocations: 20.22 kB / 1.41 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003328/0.5891, allocations: 208.5 kB / 1.411 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001831/0.5909, allocations: 1.591 MB / 1.412 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.591, allocations: 69.12 kB / 1.412 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.5911, allocations: 0 / 1.412 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.5911, allocations: 42.64 kB / 1.412 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.5911, allocations: 0 / 1.412 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8): time 0.0005627/0.5917, allocations: 216.5 kB / 1.413 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.5917, allocations: 85.09 kB / 1.413 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/0.592, allocations: 201.1 kB / 1.413 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.592, allocations: 29.7 kB / 1.413 GB, free: 12.85 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 9.794e-05/0.5921, allocations: 159.5 kB / 1.413 GB, free: 12.69 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.735e-05/0.5921, allocations: 31.64 kB / 1.413 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.278e-05/0.5921, allocations: 7.938 kB / 1.413 GB, free: 12.65 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.5923, allocations: 327 kB / 1.413 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.5924, allocations: 79.95 kB / 1.413 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001732/0.5926, allocations: 156.9 kB / 1.414 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.5927, allocations: 99.91 kB / 1.414 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5928, allocations: 0 / 1.414 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004067/0.5932, allocations: 277.3 kB / 1.414 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005373/0.5937, allocations: 1.142 MB / 1.415 GB, free: 10.45 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.5937, allocations: 4 kB / 1.415 GB, free: 10.45 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.5938, allocations: 4 kB / 1.415 GB, free: 10.44 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002577/0.594, allocations: 59.89 kB / 1.415 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.594, allocations: 4 kB / 1.415 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/0.5943, allocations: 27.91 kB / 1.415 GB, free: 10.35 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.5943, allocations: 12 kB / 1.415 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.5943, allocations: 6.188 kB / 1.415 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003205/0.5946, allocations: 215.5 kB / 1.415 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.5947, allocations: 4 kB / 1.415 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.171e-06/0.5947, allocations: 4 kB / 1.415 GB, free: 10.12 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001773/0.5949, allocations: 47.91 kB / 1.415 GB, free: 10.07 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.5949, allocations: 7.953 kB / 1.415 GB, free: 10.06 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.595, allocations: 19.98 kB / 1.415 GB, free: 10.04 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.595, allocations: 12.36 kB / 1.415 GB, free: 10.03 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001628/0.5952, allocations: 221.8 kB / 1.416 GB, free: 9.805 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.506e-05/0.5953, allocations: 15.81 kB / 1.416 GB, free: 9.789 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002206/0.5955, allocations: 114.6 kB / 1.416 GB, free: 9.676 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.5955, allocations: 4 kB / 1.416 GB, free: 9.672 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.5955, allocations: 3.953 kB / 1.416 GB, free: 9.668 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.5955, allocations: 0 / 1.416 GB, free: 9.668 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007463/0.5963, allocations: 0.6274 MB / 1.416 GB, free: 8.965 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.5963, allocations: 0 / 1.416 GB, free: 8.965 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.468e-05/0.5964, allocations: 15.98 kB / 1.416 GB, free: 8.949 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.5964, allocations: 4 kB / 1.416 GB, free: 8.945 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.5964, allocations: 4.25 kB / 1.416 GB, free: 8.941 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.5964, allocations: 4 kB / 1.416 GB, free: 8.938 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.201e-06/0.5964, allocations: 7.938 kB / 1.416 GB, free: 8.93 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003134/0.5968, allocations: 411.9 kB / 1.417 GB, free: 8.449 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.5969, allocations: 108.9 kB / 1.417 GB, free: 8.324 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.654e-05/0.5969, allocations: 4 kB / 1.417 GB, free: 8.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.5971, allocations: 11.98 kB / 1.417 GB, free: 8.309 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.62e-05/0.5971, allocations: 15.97 kB / 1.417 GB, free: 8.293 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.166e-06/0.5971, allocations: 8.062 kB / 1.417 GB, free: 8.285 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001553/0.5973, allocations: 174.9 kB / 1.417 GB, free: 8.113 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5973, allocations: 3.938 kB / 1.417 GB, free: 8.109 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0005088/0.5978, allocations: 91.94 kB / 1.417 GB, free: 8.02 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0008234/0.5986, allocations: 1.432 MB / 1.419 GB, free: 6.512 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0004202/0.5991, allocations: 271.5 kB / 1.419 GB, free: 6.246 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.5991, allocations: 0 / 1.419 GB, free: 6.246 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.317e-05/0.5992, allocations: 49.34 kB / 1.419 GB, free: 6.199 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.5995, allocations: 36.62 kB / 1.419 GB, free: 6.164 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002489/0.602, allocations: 2.931 MB / 1.422 GB, free: 3.113 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004224/0.6025, allocations: 0.744 MB / 1.423 GB, free: 2.34 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0002236/0.6027, allocations: 69.47 kB / 1.423 GB, free: 2.273 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.593e-05/0.6028, allocations: 43.42 kB / 1.423 GB, free: 2.23 MB / 0.9167 GB Notification: Performance of SimCode: time 3.01e-07/0.6028, allocations: 0 / 1.423 GB, free: 2.23 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5849/1.188, allocations: 3.201 MB / 1.426 GB, free: 185.3 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002082/1.188, allocations: 222.6 kB / 1.426 GB, free: 185.1 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.717/2.905, allocations: 5.062 kB / 1.426 GB, free: 185.1 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource_res.mat does not exist to compare? outputFormat=mat