Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",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.001673/0.001673, allocations: 87.3 kB / 15.06 MB, free: 1.082 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.001996/0.001996, allocations: 176.7 kB / 15.96 MB, free: 196 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.649/2.649, allocations: 409.4 MB / 0.684 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003628/0.0003628, allocations: 12 kB / 0.8378 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7965/0.7969, allocations: 146.8 MB / 0.9811 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01421/0.8112, allocations: 9.03 MB / 0.99 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.007326/0.8186, allocations: 2.89 MB / 0.9928 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00108/0.8197, allocations: 27.88 kB / 0.9928 GB, free: 10.33 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0008265/0.8205, allocations: 178.6 kB / 0.993 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.002009/0.8226, allocations: 0.5795 MB / 0.9935 GB, free: 9.574 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001785/0.8244, allocations: 434 kB / 0.994 GB, free: 9.152 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.00454/0.8289, allocations: 3.186 MB / 0.9971 GB, free: 5.957 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005102/0.8341, allocations: 2.683 MB / 0.9997 GB, free: 3.238 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002158/0.8362, allocations: 0.864 MB / 1.001 GB, free: 2.371 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002581/0.8388, allocations: 1.254 MB / 1.002 GB, free: 1.113 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0006327/0.8395, allocations: 103.9 kB / 1.002 GB, free: 1.012 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001384/0.8409, allocations: 247.8 kB / 1.002 GB, free: 0.7695 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001528/0.8424, allocations: 0.838 MB / 1.003 GB, free: 15.93 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0009009/0.8433, allocations: 356.8 kB / 1.003 GB, free: 15.57 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.003404/0.8468, allocations: 2.796 MB / 1.006 GB, free: 12.77 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 8.886e-06/0.8468, allocations: 0 / 1.006 GB, free: 12.77 MB / 0.7637 GB Notification: Performance of FrontEnd: time 4.057e-06/0.8468, allocations: 0 / 1.006 GB, free: 12.77 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 0.0001247/0.8469, allocations: 4 kB / 1.006 GB, free: 12.77 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.004228/0.8512, allocations: 1.604 MB / 1.008 GB, free: 11.11 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.8512, allocations: 8.031 kB / 1.008 GB, free: 11.1 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008227/0.8521, allocations: 260.5 kB / 1.008 GB, free: 10.84 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005588/0.8577, allocations: 0.8835 MB / 1.009 GB, free: 9.949 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002516/0.8602, allocations: 1.105 MB / 1.01 GB, free: 8.801 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/0.8604, allocations: 110.9 kB / 1.01 GB, free: 8.691 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005426/0.8609, allocations: 151.9 kB / 1.01 GB, free: 8.543 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005979/0.8669, allocations: 3.005 MB / 1.013 GB, free: 5.438 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.857e-05/0.867, allocations: 3.938 kB / 1.013 GB, free: 5.434 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002713/0.8673, allocations: 63.97 kB / 1.013 GB, free: 5.371 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000239/0.8675, allocations: 183 kB / 1.013 GB, free: 5.191 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004881/0.8724, allocations: 2.592 MB / 1.016 GB, free: 2.594 MB / 0.7637 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0188/0.8912, allocations: 13.53 MB / 1.029 GB, free: 3.965 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002196/0.8934, allocations: 1.284 MB / 1.03 GB, free: 2.668 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001494/0.895, allocations: 1.047 MB / 1.031 GB, free: 1.617 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.35e-05/0.8951, allocations: 8.656 kB / 1.031 GB, free: 1.609 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.473e-05/0.8951, allocations: 51.17 kB / 1.031 GB, free: 1.551 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=82): time 3.327e-06/0.8951, allocations: 0 / 1.031 GB, free: 1.551 MB / 0.7794 GB Notification: Performance of matching and sorting (n=139): time 0.06534/0.9605, allocations: 19.43 MB / 1.05 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.787e-05/0.9606, allocations: 72.67 kB / 1.05 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001401/0.962, allocations: 0.9105 MB / 1.051 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0002149/0.9622, allocations: 45.7 kB / 1.051 GB, free: 12.91 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005556/0.9628, allocations: 0.7322 MB / 1.052 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005768/0.9634, allocations: 485 kB / 1.052 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001684/0.9636, allocations: 32 kB / 1.052 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002542/0.9638, allocations: 414.7 kB / 1.053 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001976/0.9658, allocations: 1.331 MB / 1.054 GB, free: 9.906 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002214/0.968, allocations: 1.655 MB / 1.056 GB, free: 8.137 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002255/0.9703, allocations: 1.554 MB / 1.057 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/0.9703, allocations: 4 kB / 1.057 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.0118/0.9821, allocations: 5.621 MB / 1.063 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.558e-05/0.9822, allocations: 12.94 kB / 1.063 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.165e-05/0.9822, allocations: 8.656 kB / 1.063 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00832/0.9905, allocations: 2.713 MB / 1.065 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008778/0.9915, allocations: 195.6 kB / 1.066 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0338/1.025, allocations: 23.31 MB / 1.088 GB, free: 6.137 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/1.027, allocations: 99.88 kB / 1.088 GB, free: 6.039 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000274/1.027, allocations: 56 kB / 1.089 GB, free: 5.984 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,100.0%) 12,(6,100.0%) 12,(6,100.0%) 24,(6,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001524/1.028, allocations: 0.7315 MB / 1.089 GB, free: 5.242 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004265/1.029, allocations: 110.7 kB / 1.089 GB, free: 5.133 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01102/1.04, allocations: 5.381 MB / 1.095 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.622e-05/1.04, allocations: 12 kB / 1.095 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.962e-05/1.04, allocations: 20 kB / 1.095 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.486e-05/1.04, allocations: 3.984 kB / 1.095 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01606/1.056, allocations: 8.61 MB / 1.103 GB, free: 6.949 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.085e-05/1.056, allocations: 7.953 kB / 1.103 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004874/1.057, allocations: 119.7 kB / 1.103 GB, free: 6.824 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007931/1.065, allocations: 2.54 MB / 1.106 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002091/1.065, allocations: 32 kB / 1.106 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03054/1.095, allocations: 20.85 MB / 1.126 GB, free: 14.85 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/1.096, allocations: 7.938 kB / 1.126 GB, free: 14.84 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01034/1.106, allocations: 5.104 MB / 1.131 GB, free: 9.66 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001027/1.107, allocations: 483.5 kB / 1.132 GB, free: 9.168 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003437/1.107, allocations: 31.95 kB / 1.132 GB, free: 9.137 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009144/1.108, allocations: 75.89 kB / 1.132 GB, free: 9.062 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004528/1.109, allocations: 121.1 kB / 1.132 GB, free: 8.945 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/1.109, allocations: 36.38 kB / 1.132 GB, free: 8.91 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0009152/1.11, allocations: 0.6434 MB / 1.132 GB, free: 8.27 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/1.11, allocations: 0 / 1.132 GB, free: 8.27 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002701/1.112, allocations: 0.7227 MB / 1.133 GB, free: 7.547 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,100.0%) 12,(6,100.0%) 24,(6,100.0%) 6,(10,84.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01065/1.123, allocations: 5.695 MB / 1.139 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.007024/1.13, allocations: 4.14 MB / 1.143 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/1.13, allocations: 0 / 1.143 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.004945/1.135, allocations: 2.659 MB / 1.145 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001389/1.137, allocations: 203.3 kB / 1.145 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02632/1.163, allocations: 14.44 MB / 1.16 GB, free: 11.83 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002297/1.165, allocations: 1.7 MB / 1.161 GB, free: 10.09 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.000915/1.166, allocations: 333.4 kB / 1.162 GB, free: 9.766 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007603/1.167, allocations: 0.5356 MB / 1.162 GB, free: 9.23 MB / 0.92 GB Notification: Performance of SimCode: time 9.52e-07/1.167, allocations: 0 / 1.162 GB, free: 9.23 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07906/1.246, allocations: 48.88 MB / 1.21 GB, free: 8.727 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002211/1.246, allocations: 241.8 kB / 1.21 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.566/3.813, allocations: 0 / 1.21 GB, free: 8.488 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat does not exist to compare? outputFormat=mat