Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",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.0011/0.0011, 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.001384/0.001384, 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 1.402/1.402, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.433/2.433, allocations: 390.3 MB / 0.6653 GB, free: 3.051 MB / 0.5138 GB Notification: Performance of FrontEnd - loaded program: time 0.0003471/0.0003474, allocations: 12 kB / 0.8146 GB, free: 14.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7128/0.7131, allocations: 142.3 MB / 0.9536 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.005034/0.7182, allocations: 5.208 MB / 0.9587 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003884/0.7221, allocations: 2.952 MB / 0.9616 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000596/0.7227, allocations: 24.88 kB / 0.9616 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002865/0.723, allocations: 107.9 kB / 0.9617 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0009174/0.724, allocations: 344.8 kB / 0.962 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.725, allocations: 370.4 kB / 0.9624 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008055/0.7258, allocations: 0.6476 MB / 0.963 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001306/0.7271, allocations: 0.8988 MB / 0.9639 GB, free: 220 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004195/0.7275, allocations: 331.4 kB / 0.9642 GB, free: 16 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005101/0.7281, allocations: 347.1 kB / 0.9645 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.4e-05/0.7281, allocations: 34.53 kB / 0.9646 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005511/0.7287, allocations: 199.7 kB / 0.9647 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002259/0.7289, allocations: 234.3 kB / 0.965 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002879/0.7292, allocations: 158.4 kB / 0.9651 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0009253/0.7302, allocations: 0.8383 MB / 0.9659 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.7302, allocations: 0 / 0.9659 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.194e-06/0.7302, allocations: 0.75 kB / 0.9659 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.295e-05/0.7302, allocations: 0 / 0.9659 GB, free: 14.92 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001535/0.7317, allocations: 0.9117 MB / 0.9668 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.7318, allocations: 9.906 kB / 0.9668 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001473/0.7319, allocations: 111.3 kB / 0.9669 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001275/0.7332, allocations: 212 kB / 0.9672 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008453/0.7341, allocations: 0.511 MB / 0.9676 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.357e-05/0.7341, allocations: 46.42 kB / 0.9677 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/0.7343, allocations: 72.72 kB / 0.9678 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/0.7357, allocations: 1.016 MB / 0.9688 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.186e-05/0.7357, allocations: 11.28 kB / 0.9688 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.069e-05/0.7358, allocations: 35.91 kB / 0.9688 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.305e-05/0.7359, allocations: 66.58 kB / 0.9689 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.737, allocations: 0.6862 MB / 0.9695 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005451/0.7424, allocations: 5.762 MB / 0.9752 GB, free: 6.945 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008172/0.7433, allocations: 0.5991 MB / 0.9757 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.024e-05/0.7433, allocations: 3.938 kB / 0.9758 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.7433, allocations: 36.59 kB / 0.9758 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=41): time 1.924e-06/0.7433, allocations: 0 / 0.9758 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of matching and sorting (n=42): time 0.003906/0.7473, allocations: 1.895 MB / 0.9776 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.7473, allocations: 64.31 kB / 0.9777 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004729/0.7478, allocations: 449.2 kB / 0.9781 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/0.7478, allocations: 31.11 kB / 0.9782 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002845/0.7481, allocations: 388.9 kB / 0.9785 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.7482, allocations: 149.9 kB / 0.9787 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.557e-05/0.7483, allocations: 10.41 kB / 0.9787 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.7484, allocations: 367.1 kB / 0.979 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003276/0.7487, allocations: 227.4 kB / 0.9792 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004521/0.7492, allocations: 441.6 kB / 0.9797 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004043/0.7496, allocations: 298.9 kB / 0.98 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.7496, allocations: 2.344 kB / 0.98 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00159/0.7512, allocations: 0.9762 MB / 0.9809 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.7512, allocations: 8.469 kB / 0.9809 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.7513, allocations: 6.844 kB / 0.9809 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008287/0.7521, allocations: 273.3 kB / 0.9812 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003248/0.7524, allocations: 103.8 kB / 0.9813 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005889/0.7583, allocations: 6.745 MB / 0.9879 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003439/0.7587, allocations: 35.97 kB / 0.9879 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.89e-05/0.7587, allocations: 28 kB / 0.9879 GB, free: 11.51 MB / 0.7481 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 (55): * Single equations (assignments): 51 * 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 {(2,100.0%) 6,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002942/0.759, allocations: 249.6 kB / 0.9882 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.042e-05/0.7591, allocations: 59.34 kB / 0.9882 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001467/0.7606, allocations: 0.83 MB / 0.989 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.7606, allocations: 4 kB / 0.989 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.7606, allocations: 7.953 kB / 0.989 GB, free: 10.33 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.7606, allocations: 3.984 kB / 0.9891 GB, free: 10.33 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002497/0.7631, allocations: 1.707 MB / 0.9907 GB, free: 8.508 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.7632, allocations: 7.938 kB / 0.9907 GB, free: 8.5 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002164/0.7634, allocations: 51.95 kB / 0.9908 GB, free: 8.449 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000739/0.7641, allocations: 247.2 kB / 0.991 GB, free: 8.195 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.937e-05/0.7642, allocations: 12 kB / 0.991 GB, free: 8.184 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005399/0.7696, allocations: 6.451 MB / 0.9973 GB, free: 1.199 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/0.7696, allocations: 11.97 kB / 0.9973 GB, free: 1.188 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001577/0.7712, allocations: 0.9705 MB / 0.9983 GB, free: 136 kB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002688/0.7715, allocations: 168.6 kB / 0.9984 GB, free: 15.95 MB / 0.7638 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.497e-05/0.7715, allocations: 16 kB / 0.9985 GB, free: 15.93 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003214/0.7719, allocations: 23.75 kB / 0.9985 GB, free: 15.91 MB / 0.7638 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.298e-05/0.772, allocations: 35.89 kB / 0.9985 GB, free: 15.88 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.463e-05/0.772, allocations: 12.47 kB / 0.9985 GB, free: 15.86 MB / 0.7638 GB Notification: Performance of sorting global known variables: time 0.0003162/0.7723, allocations: 306.9 kB / 0.9988 GB, free: 15.57 MB / 0.7638 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7723, allocations: 0 / 0.9988 GB, free: 15.57 MB / 0.7638 GB Notification: Performance of remove unused functions: time 0.0008033/0.7731, allocations: 188 kB / 0.999 GB, free: 15.38 MB / 0.7638 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (27): * Single equations (assignments): 23 * 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 {(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001801/0.7749, allocations: 1.934 MB / 1.001 GB, free: 13.37 MB / 0.7638 GB Notification: Performance of simCode: created initialization part: time 0.001564/0.7765, allocations: 1.145 MB / 1.002 GB, free: 12.18 MB / 0.7638 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.7765, allocations: 0 / 1.002 GB, free: 12.18 MB / 0.7638 GB Notification: Performance of simCode: created simulation system equations: time 0.0009756/0.7775, allocations: 0.7957 MB / 1.003 GB, free: 11.33 MB / 0.7638 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007999/0.7783, allocations: 182.1 kB / 1.003 GB, free: 11.16 MB / 0.7638 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006963/0.7853, allocations: 8.387 MB / 1.011 GB, free: 2.566 MB / 0.7638 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000575/0.7859, allocations: 1 MB / 1.012 GB, free: 1.535 MB / 0.7638 GB Notification: Performance of simCode: alias equations: time 0.0003084/0.7862, allocations: 109.2 kB / 1.012 GB, free: 1.426 MB / 0.7638 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000243/0.7864, allocations: 223.4 kB / 1.012 GB, free: 1.207 MB / 0.7638 GB Notification: Performance of SimCode: time 4.61e-07/0.7865, allocations: 0 / 1.012 GB, free: 1.207 MB / 0.7638 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02638/0.8128, allocations: 13.88 MB / 1.026 GB, free: 3.594 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002707/0.8131, allocations: 213.3 kB / 1.026 GB, free: 3.348 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.937/2.75, allocations: 0 / 1.026 GB, free: 3.348 MB / 0.7794 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat does not exist to compare? outputFormat=mat