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/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.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/Buildings 10.0.0-master/package.mo): time 2.269/2.269, allocations: 390.5 MB / 398 MB, free: 11.02 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.001108/0.001108, allocations: 172.6 kB / 491.2 MB, free: 1.641 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.537/1.537, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.0009139/0.000914, allocations: 103.8 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.129e-05/2.126e-05, allocations: 0 / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3629, allocations: 143 MB / 1.212 GB, free: 39.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.202/1.565, allocations: 221.3 MB / 1.428 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003241/1.566, allocations: 96.66 kB / 1.429 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.307/1.873, allocations: 124.1 MB / 1.55 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.693e-06/1.873, allocations: 0 / 1.55 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0002662/1.873, allocations: 47.98 kB / 1.55 GB, free: 13.53 MB / 0.9636 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.0057/1.879, allocations: 1.646 MB / 1.551 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/1.879, allocations: 8.031 kB / 1.551 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0124/1.891, allocations: 1.96 MB / 1.553 GB, free: 9.859 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006882/1.898, allocations: 2.064 MB / 1.555 GB, free: 7.738 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/1.898, allocations: 36 kB / 1.555 GB, free: 7.703 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007996/1.899, allocations: 75.84 kB / 1.555 GB, free: 7.629 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00392/1.903, allocations: 1.649 MB / 1.557 GB, free: 5.977 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00483/1.908, allocations: 2.061 MB / 1.559 GB, free: 3.73 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.379e-05/1.908, allocations: 15.92 kB / 1.559 GB, free: 3.715 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003522/1.908, allocations: 4 kB / 1.559 GB, free: 3.711 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001304/1.909, allocations: 86.28 kB / 1.559 GB, free: 3.625 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0179/1.926, allocations: 10.44 MB / 1.569 GB, free: 8.609 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002514/1.929, allocations: 1.475 MB / 1.571 GB, free: 7.105 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001226/1.93, allocations: 0.8705 MB / 1.572 GB, free: 6.23 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001/1.93, allocations: 16.72 kB / 1.572 GB, free: 6.215 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.311e-05/1.93, allocations: 43.34 kB / 1.572 GB, free: 6.164 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=89): time 4.258e-06/1.93, allocations: 4 kB / 1.572 GB, free: 6.16 MB / 0.9792 GB Notification: Performance of matching and sorting (n=153): time 0.01864/1.949, allocations: 6.895 MB / 1.578 GB, free: 15.23 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001696/1.949, allocations: 226.9 kB / 1.579 GB, free: 14.95 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002251/1.952, allocations: 0.8091 MB / 1.579 GB, free: 14.14 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002749/1.952, allocations: 25.7 kB / 1.58 GB, free: 14.11 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006952/1.953, allocations: 0.7542 MB / 1.58 GB, free: 13.34 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006856/1.953, allocations: 0.4925 MB / 1.581 GB, free: 12.84 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001627/1.954, allocations: 0 / 1.581 GB, free: 12.84 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001968/1.954, allocations: 369.8 kB / 1.581 GB, free: 12.47 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001615/1.955, allocations: 1.093 MB / 1.582 GB, free: 11.38 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001853/1.957, allocations: 1.364 MB / 1.583 GB, free: 9.914 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002544/1.96, allocations: 1.263 MB / 1.585 GB, free: 8.648 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/1.96, allocations: 0 / 1.585 GB, free: 8.648 MB / 0.9948 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.01087/1.971, allocations: 4.442 MB / 1.589 GB, free: 4.168 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.727e-05/1.971, allocations: 10.03 kB / 1.589 GB, free: 4.16 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/1.971, allocations: 8.75 kB / 1.589 GB, free: 4.152 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008587/1.979, allocations: 2.078 MB / 1.591 GB, free: 2.051 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002244/1.982, allocations: 415.3 kB / 1.591 GB, free: 1.645 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02967/2.011, allocations: 21.76 MB / 1.613 GB, free: 10.97 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003108/2.015, allocations: 291.5 kB / 1.613 GB, free: 10.69 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004397/2.015, allocations: 67.91 kB / 1.613 GB, free: 10.62 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 70 * 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 {(3,100.0%) 17,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006773/2.016, allocations: 124.8 kB / 1.613 GB, free: 10.49 MB / 1.026 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01084/2.027, allocations: 4.228 MB / 1.617 GB, free: 6.23 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007872/2.027, allocations: 166 kB / 1.617 GB, free: 6.066 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01116/2.039, allocations: 4.511 MB / 1.622 GB, free: 1.516 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-05/2.039, allocations: 12 kB / 1.622 GB, free: 1.504 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.663e-05/2.039, allocations: 20 kB / 1.622 GB, free: 1.484 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.137e-05/2.039, allocations: 7.969 kB / 1.622 GB, free: 1.477 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0152/2.054, allocations: 6.568 MB / 1.628 GB, free: 10.8 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.745e-05/2.054, allocations: 4 kB / 1.628 GB, free: 10.8 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001828/2.056, allocations: 363.3 kB / 1.629 GB, free: 10.44 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0077/2.064, allocations: 1.946 MB / 1.631 GB, free: 8.473 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002556/2.064, allocations: 23.95 kB / 1.631 GB, free: 8.449 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02888/2.093, allocations: 20.91 MB / 1.651 GB, free: 2.625 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-05/2.093, allocations: 7.984 kB / 1.651 GB, free: 2.617 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01021/2.103, allocations: 4.302 MB / 1.655 GB, free: 14.19 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001301/2.104, allocations: 0.4911 MB / 1.656 GB, free: 13.68 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005542/2.105, allocations: 4 kB / 1.656 GB, free: 13.68 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002588/2.108, allocations: 303.6 kB / 1.656 GB, free: 13.38 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005988/2.108, allocations: 156.9 kB / 1.656 GB, free: 13.22 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001897/2.108, allocations: 55.97 kB / 1.656 GB, free: 13.17 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.001221/2.11, allocations: 0.6018 MB / 1.657 GB, free: 12.56 MB / 1.073 GB Notification: Performance of sort global known variables: time 4.81e-07/2.11, allocations: 4 kB / 1.657 GB, free: 12.56 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.003168/2.113, allocations: 0.6327 MB / 1.657 GB, free: 11.93 MB / 1.073 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 () * 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,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01063/2.123, allocations: 5.677 MB / 1.663 GB, free: 6.117 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.008003/2.132, allocations: 4.159 MB / 1.667 GB, free: 1.879 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-05/2.132, allocations: 8.062 kB / 1.667 GB, free: 1.871 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.005672/2.137, allocations: 2.821 MB / 1.67 GB, free: 14.97 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003038/2.14, allocations: 428.8 kB / 1.67 GB, free: 14.55 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009825/2.15, allocations: 3.442 MB / 1.674 GB, free: 11.03 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001872/2.152, allocations: 1.599 MB / 1.675 GB, free: 9.391 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.00201/2.154, allocations: 385.4 kB / 1.676 GB, free: 9.008 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001095/2.155, allocations: 0.6593 MB / 1.676 GB, free: 8.348 MB / 1.089 GB Notification: Performance of SimCode: time 1.183e-06/2.155, allocations: 3.938 kB / 1.676 GB, free: 8.344 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1055/2.261, allocations: 54.34 MB / 1.729 GB, free: 2.43 MB / 1.135 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001744/2.261, allocations: 170.4 kB / 1.729 GB, free: 2.234 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.568/5.829, allocations: 6.312 kB / 1.729 GB, free: 2.23 MB / 1.135 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) 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