Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.001649/0.001649, allocations: 100.5 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.001615/0.001615, allocations: 177.3 kB / 15.94 MB, free: 228 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.299/2.299, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.546/4.546, allocations: 409.2 MB / 0.6838 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007946/0.0007947, allocations: 8 kB / 0.8375 GB, free: 6.555 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.879/1.88, allocations: 146.8 MB / 0.9809 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.02984/1.91, allocations: 12.51 MB / 0.9931 GB, free: 9.781 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02863/1.939, allocations: 9.438 MB / 1.002 GB, free: 328 kB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00387/1.943, allocations: 47.62 kB / 1.002 GB, free: 280 kB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002839/1.946, allocations: 270.2 kB / 1.003 GB, free: 8 kB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01346/1.959, allocations: 1.452 MB / 1.004 GB, free: 14.56 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.004252/1.963, allocations: 0.5172 MB / 1.005 GB, free: 14.04 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.008334/1.972, allocations: 1.745 MB / 1.006 GB, free: 12.3 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006633/1.979, allocations: 1.813 MB / 1.008 GB, free: 10.44 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005102/1.984, allocations: 1.196 MB / 1.009 GB, free: 9.242 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004235/1.988, allocations: 0.8522 MB / 1.01 GB, free: 8.387 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0008701/1.989, allocations: 72 kB / 1.01 GB, free: 8.316 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003378/1.992, allocations: 383.5 kB / 1.01 GB, free: 7.941 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001708/1.994, allocations: 454.6 kB / 1.011 GB, free: 7.496 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.002128/1.996, allocations: 360.7 kB / 1.011 GB, free: 7.137 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.007236/2.004, allocations: 2.082 MB / 1.013 GB, free: 5.051 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 9.207e-06/2.004, allocations: 3.938 kB / 1.013 GB, free: 5.047 MB / 0.7637 GB Notification: Performance of FrontEnd: time 5.3e-06/2.004, allocations: 0 / 1.013 GB, free: 5.047 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001537/2.004, allocations: 0 / 1.013 GB, free: 5.047 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.009225/2.013, allocations: 1.843 MB / 1.015 GB, free: 3.148 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 9.513e-05/2.013, allocations: 8.031 kB / 1.015 GB, free: 3.141 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001055/2.014, allocations: 190.2 kB / 1.015 GB, free: 2.945 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02177/2.036, allocations: 2.19 MB / 1.017 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006702/2.043, allocations: 1.163 MB / 1.019 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002008/2.043, allocations: 82.31 kB / 1.019 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008662/2.044, allocations: 119.9 kB / 1.019 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01131/2.055, allocations: 2.678 MB / 1.021 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.577e-05/2.056, allocations: 7.938 kB / 1.021 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003519/2.056, allocations: 55.98 kB / 1.021 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001251/2.057, allocations: 194.1 kB / 1.022 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01515/2.072, allocations: 2.83 MB / 1.024 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03359/2.106, allocations: 10.56 MB / 1.035 GB, free: 14.27 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01248/2.119, allocations: 2.375 MB / 1.037 GB, free: 11.86 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002332/2.119, allocations: 13 kB / 1.037 GB, free: 11.85 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.734e-05/2.119, allocations: 47.55 kB / 1.037 GB, free: 11.8 MB / 0.795 GB Notification: Performance of pre-optimization done (n=89): time 5.561e-06/2.119, allocations: 0 / 1.037 GB, free: 11.8 MB / 0.795 GB Notification: Performance of matching and sorting (n=153): time 0.1188/2.238, allocations: 16.5 MB / 1.053 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/2.238, allocations: 68.72 kB / 1.053 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002937/2.241, allocations: 1.164 MB / 1.054 GB, free: 9.883 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0005978/2.242, allocations: 49.7 kB / 1.054 GB, free: 9.828 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.001125/2.243, allocations: 0.7398 MB / 1.055 GB, free: 9.082 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.001196/2.244, allocations: 0.5159 MB / 1.056 GB, free: 8.559 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001948/2.244, allocations: 28 kB / 1.056 GB, free: 8.531 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0003645/2.245, allocations: 377.8 kB / 1.056 GB, free: 8.156 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006503/2.251, allocations: 1.522 MB / 1.057 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006216/2.257, allocations: 1.792 MB / 1.059 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00682/2.264, allocations: 1.642 MB / 1.061 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.845e-05/2.264, allocations: 4 kB / 1.061 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.02286/2.287, allocations: 5.301 MB / 1.066 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.001e-05/2.287, allocations: 10.03 kB / 1.066 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-05/2.288, allocations: 8 kB / 1.066 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01053/2.298, allocations: 1.884 MB / 1.068 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003298/2.301, allocations: 427.2 kB / 1.068 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05126/2.353, allocations: 22.85 MB / 1.091 GB, free: 3.504 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005147/2.358, allocations: 319.6 kB / 1.091 GB, free: 3.191 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004999/2.359, allocations: 63.97 kB / 1.091 GB, free: 3.129 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 17,(3,100.0%) 17,(3,100.0%) 15,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001835/2.36, allocations: 461.4 kB / 1.091 GB, free: 2.668 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007999/2.361, allocations: 189.9 kB / 1.092 GB, free: 2.48 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02232/2.384, allocations: 5.332 MB / 1.097 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.168e-05/2.384, allocations: 16 kB / 1.097 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001474/2.384, allocations: 16 kB / 1.097 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-05/2.384, allocations: 15.92 kB / 1.097 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0304/2.414, allocations: 7.454 MB / 1.104 GB, free: 5.477 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.409e-05/2.415, allocations: 4 kB / 1.104 GB, free: 5.473 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002658/2.417, allocations: 364.3 kB / 1.104 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009169/2.426, allocations: 1.707 MB / 1.106 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004513/2.427, allocations: 39.97 kB / 1.106 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04882/2.476, allocations: 22.06 MB / 1.128 GB, free: 12.23 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/2.476, allocations: 4 kB / 1.128 GB, free: 12.23 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02068/2.497, allocations: 5.07 MB / 1.133 GB, free: 6.992 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002656/2.499, allocations: 494.8 kB / 1.133 GB, free: 6.488 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006444/2.5, allocations: 32 kB / 1.133 GB, free: 6.457 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003501/2.504, allocations: 327.5 kB / 1.133 GB, free: 6.137 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000928/2.505, allocations: 153 kB / 1.134 GB, free: 5.988 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002548/2.505, allocations: 59.95 kB / 1.134 GB, free: 5.93 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.002437/2.507, allocations: 0.7743 MB / 1.134 GB, free: 5.156 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.81e-07/2.507, allocations: 0 / 1.134 GB, free: 5.156 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.005178/2.513, allocations: 0.6562 MB / 1.135 GB, free: 4.5 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02412/2.537, allocations: 6.39 MB / 1.141 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.01971/2.557, allocations: 5.172 MB / 1.146 GB, free: 8.695 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.223e-05/2.557, allocations: 0 / 1.146 GB, free: 8.695 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.01228/2.569, allocations: 3.363 MB / 1.15 GB, free: 5.234 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004664/2.574, allocations: 496.9 kB / 1.15 GB, free: 4.754 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0687/2.643, allocations: 20.62 MB / 1.17 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002566/2.645, allocations: 1.603 MB / 1.172 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.003168/2.648, allocations: 382.4 kB / 1.172 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001595/2.65, allocations: 0.6593 MB / 1.173 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of SimCode: time 2.525e-06/2.65, allocations: 0 / 1.173 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2396/2.89, allocations: 56.12 MB / 1.228 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005952/2.89, allocations: 231.5 kB / 1.228 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.122/10.01, allocations: 5.969 kB / 1.228 GB, free: 5.055 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat does not exist to compare? outputFormat=mat