Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00202/0.002021, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.75/2.75, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.329/5.329, allocations: 409.2 MB / 0.6838 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001013/0.001014, allocations: 8 kB / 0.8375 GB, free: 6.531 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.532/1.534, allocations: 146.8 MB / 0.9809 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.06701/1.601, allocations: 33.22 MB / 1.013 GB, free: 4.984 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.03519/1.636, allocations: 12.8 MB / 1.026 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007151/1.643, allocations: 87.69 kB / 1.026 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.005096/1.648, allocations: 0.7141 MB / 1.027 GB, free: 7.348 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.01122/1.66, allocations: 1.472 MB / 1.028 GB, free: 5.871 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.01451/1.674, allocations: 2.109 MB / 1.03 GB, free: 3.766 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0117/1.686, allocations: 2.964 MB / 1.033 GB, free: 0.7969 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03396/1.72, allocations: 10.04 MB / 1.043 GB, free: 6.676 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006006/1.726, allocations: 1.519 MB / 1.044 GB, free: 5.152 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007106/1.733, allocations: 1.698 MB / 1.046 GB, free: 3.449 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.00259/1.736, allocations: 252 kB / 1.046 GB, free: 3.203 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00441/1.741, allocations: 0.5307 MB / 1.047 GB, free: 2.672 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.005819/1.746, allocations: 1.832 MB / 1.048 GB, free: 0.8359 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.003859/1.75, allocations: 0.8161 MB / 1.049 GB, free: 12 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0172/1.768, allocations: 7.623 MB / 1.057 GB, free: 8.371 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 1.023e-05/1.768, allocations: 0 / 1.057 GB, free: 8.371 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.095e-06/1.768, allocations: 4 kB / 1.057 GB, free: 8.367 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0006058/1.768, allocations: 0 / 1.057 GB, free: 8.367 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.02095/1.789, allocations: 3.436 MB / 1.06 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001026/1.79, allocations: 8.031 kB / 1.06 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005184/1.795, allocations: 0.6364 MB / 1.061 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01102/1.806, allocations: 0.998 MB / 1.062 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01009/1.816, allocations: 2.151 MB / 1.064 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007671/1.817, allocations: 324.6 kB / 1.064 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003313/1.82, allocations: 435.9 kB / 1.065 GB, free: 264 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03533/1.856, allocations: 7.291 MB / 1.072 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005467/1.856, allocations: 19.81 kB / 1.072 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003477/1.86, allocations: 184 kB / 1.072 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007672/1.861, allocations: 286.9 kB / 1.072 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02191/1.883, allocations: 5.932 MB / 1.078 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07495/1.958, allocations: 32.62 MB / 1.11 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00604/1.964, allocations: 2.126 MB / 1.112 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000412/1.964, allocations: 94.09 kB / 1.112 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.385e-05/1.964, allocations: 51.55 kB / 1.112 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=98): time 6.753e-06/1.964, allocations: 0 / 1.112 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of matching and sorting (n=101): time 0.01727/1.982, allocations: 5.219 MB / 1.117 GB, free: 7.246 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001336/1.982, allocations: 149.5 kB / 1.117 GB, free: 7.07 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003596/1.985, allocations: 1.445 MB / 1.119 GB, free: 5.613 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0003967/1.986, allocations: 49.64 kB / 1.119 GB, free: 5.559 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0022/1.988, allocations: 1.855 MB / 1.12 GB, free: 3.676 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008709/1.989, allocations: 374.9 kB / 1.121 GB, free: 3.305 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002239/1.989, allocations: 43.94 kB / 1.121 GB, free: 3.262 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0003132/1.99, allocations: 398 kB / 1.121 GB, free: 2.867 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003169/1.993, allocations: 1.101 MB / 1.122 GB, free: 1.762 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004462/1.997, allocations: 2.165 MB / 1.124 GB, free: 15.08 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004429/2.002, allocations: 1.521 MB / 1.126 GB, free: 13.56 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.523e-05/2.002, allocations: 12 kB / 1.126 GB, free: 13.55 MB / 0.8887 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.01118/2.013, allocations: 3.292 MB / 1.129 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.008626/2.022, allocations: 13.43 MB / 1.142 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001422/2.022, allocations: 32.14 kB / 1.142 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001069/2.022, allocations: 52 kB / 1.142 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004429/2.027, allocations: 0.6239 MB / 1.143 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001272/2.027, allocations: 63.78 kB / 1.143 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004319/2.031, allocations: 318.7 kB / 1.143 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006908/2.032, allocations: 116 kB / 1.143 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.715e-05/2.032, allocations: 5.094 kB / 1.143 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009303/2.041, allocations: 2.734 MB / 1.146 GB, free: 7.828 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001835/2.042, allocations: 36 kB / 1.146 GB, free: 7.793 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001028/2.042, allocations: 55.95 kB / 1.146 GB, free: 7.738 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003547/2.045, allocations: 0.5576 MB / 1.147 GB, free: 7.18 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001097/2.045, allocations: 63.8 kB / 1.147 GB, free: 7.117 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00333/2.049, allocations: 227.2 kB / 1.147 GB, free: 6.895 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004885/2.049, allocations: 108 kB / 1.147 GB, free: 6.789 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (264): * Single equations (assignments): 264 * 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.006181/2.055, allocations: 1.706 MB / 1.149 GB, free: 5.07 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009628/2.056, allocations: 154.1 kB / 1.149 GB, free: 4.918 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005969/2.062, allocations: 2.238 MB / 1.151 GB, free: 2.664 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.697e-05/2.062, allocations: 16 kB / 1.151 GB, free: 2.648 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.398e-05/2.063, allocations: 0 / 1.151 GB, free: 2.648 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.71e-05/2.063, allocations: 11.97 kB / 1.151 GB, free: 2.637 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02825/2.091, allocations: 10.96 MB / 1.162 GB, free: 7.418 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-05/2.091, allocations: 12 kB / 1.162 GB, free: 7.406 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002698/2.094, allocations: 387.3 kB / 1.162 GB, free: 7.027 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-05/2.094, allocations: 23.95 kB / 1.162 GB, free: 7.004 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001744/2.094, allocations: 31.98 kB / 1.162 GB, free: 6.973 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.038e-05/2.094, allocations: 19.94 kB / 1.162 GB, free: 6.953 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.201e-05/2.094, allocations: 19.88 kB / 1.162 GB, free: 6.934 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007129/2.101, allocations: 3.47 MB / 1.166 GB, free: 2.949 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001873/2.103, allocations: 462.8 kB / 1.166 GB, free: 2.477 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005468/2.104, allocations: 40 kB / 1.166 GB, free: 2.438 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002127/2.106, allocations: 167.7 kB / 1.166 GB, free: 2.273 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003394/2.106, allocations: 96.2 kB / 1.166 GB, free: 2.18 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001553/2.106, allocations: 40 kB / 1.166 GB, free: 2.141 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002537/2.109, allocations: 0.9703 MB / 1.167 GB, free: 1.172 MB / 0.92 GB Notification: Performance of sort global known variables: time 5.31e-07/2.109, allocations: 3.938 kB / 1.167 GB, free: 1.168 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.01039/2.119, allocations: 1.129 MB / 1.169 GB, free: 40 kB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (104): * Single equations (assignments): 104 * 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.01024/2.13, allocations: 7.28 MB / 1.176 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.01102/2.141, allocations: 3.962 MB / 1.18 GB, free: 4.457 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.141e-05/2.141, allocations: 0 / 1.18 GB, free: 4.457 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.002754/2.144, allocations: 1.056 MB / 1.181 GB, free: 3.402 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003772/2.147, allocations: 381.8 kB / 1.181 GB, free: 3.035 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06242/2.21, allocations: 39.83 MB / 1.22 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007208/2.217, allocations: 2.932 MB / 1.223 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.005845/2.223, allocations: 1.211 MB / 1.224 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003881/2.227, allocations: 1.28 MB / 1.225 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of SimCode: time 5.921e-06/2.227, allocations: 0 / 1.225 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.591/3.818, allocations: 45.89 MB / 1.27 GB, free: 241.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003075/3.819, allocations: 210.9 kB / 1.27 GB, free: 241.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.433/10.25, allocations: 0 / 1.27 GB, free: 241.1 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat does not exist to compare? outputFormat=mat