Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_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.0009219/0.0009218, allocations: 86.17 kB / 15.06 MB, free: 1.09 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.00112/0.00112, allocations: 168.7 kB / 15.95 MB, free: 204 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.45/1.45, allocations: 223.3 MB / 240 MB, free: 5.402 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.496/2.496, allocations: 390.4 MB / 0.6655 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004181/0.0004183, allocations: 11.94 kB / 0.8149 GB, free: 14.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7724/0.7729, allocations: 142.3 MB / 0.9539 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.006496/0.7794, allocations: 5.448 MB / 0.9592 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004838/0.7843, allocations: 2.982 MB / 0.9621 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006022/0.785, allocations: 25.06 kB / 0.9621 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003908/0.7854, allocations: 118.4 kB / 0.9622 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001025/0.7864, allocations: 383.7 kB / 0.9626 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001248/0.7877, allocations: 381.1 kB / 0.963 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00164/0.7893, allocations: 1.223 MB / 0.9642 GB, free: 340 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00189/0.7912, allocations: 0.8999 MB / 0.965 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008827/0.7921, allocations: 364.9 kB / 0.9654 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007657/0.7929, allocations: 433.2 kB / 0.9658 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.666e-05/0.793, allocations: 32.94 kB / 0.9658 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008274/0.7938, allocations: 252.5 kB / 0.9661 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003035/0.7941, allocations: 252.2 kB / 0.9663 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002283/0.7943, allocations: 162.4 kB / 0.9665 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001133/0.7955, allocations: 0.8845 MB / 0.9673 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.947e-06/0.7955, allocations: 1.156 kB / 0.9673 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.494e-06/0.7955, allocations: 3.938 kB / 0.9673 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.916e-05/0.7955, allocations: 3.938 kB / 0.9673 GB, free: 14.33 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.001688/0.7972, allocations: 0.9211 MB / 0.9682 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.7973, allocations: 9.188 kB / 0.9682 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001534/0.7974, allocations: 116.3 kB / 0.9684 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001518/0.799, allocations: 226.1 kB / 0.9686 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009204/0.7999, allocations: 0.5184 MB / 0.9691 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.968e-05/0.8, allocations: 46.2 kB / 0.9691 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.8001, allocations: 68.45 kB / 0.9692 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001678/0.8018, allocations: 1.026 MB / 0.9702 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.296e-05/0.8018, allocations: 6.25 kB / 0.9702 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.596e-05/0.8019, allocations: 36.94 kB / 0.9702 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001115/0.802, allocations: 66.45 kB / 0.9703 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001148/0.8032, allocations: 0.686 MB / 0.971 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006047/0.8092, allocations: 5.763 MB / 0.9766 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.8103, allocations: 0.601 MB / 0.9772 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008151/0.8111, allocations: 415.5 kB / 0.9776 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.231e-05/0.8112, allocations: 5.125 kB / 0.9776 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.8112, allocations: 36.06 kB / 0.9776 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=41): time 2.745e-06/0.8112, allocations: 4 kB / 0.9776 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of matching and sorting (n=42): time 0.004751/0.816, allocations: 2.053 MB / 0.9796 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.816, allocations: 58.72 kB / 0.9797 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006069/0.8167, allocations: 462.8 kB / 0.9801 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.662e-05/0.8167, allocations: 30.95 kB / 0.9802 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002564/0.817, allocations: 390.2 kB / 0.9805 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001386/0.8171, allocations: 152.5 kB / 0.9807 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-05/0.8172, allocations: 11.66 kB / 0.9807 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.8173, allocations: 367 kB / 0.981 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004024/0.8177, allocations: 242.4 kB / 0.9813 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005258/0.8183, allocations: 457.4 kB / 0.9817 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004738/0.8188, allocations: 312.8 kB / 0.982 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.8188, allocations: 2.625 kB / 0.982 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001807/0.8206, allocations: 1.064 MB / 0.983 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/0.8206, allocations: 8 kB / 0.983 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.8206, allocations: 8 kB / 0.9831 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00098/0.8216, allocations: 335.5 kB / 0.9834 GB, free: 1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003092/0.8219, allocations: 95.81 kB / 0.9835 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006411/0.8284, allocations: 6.939 MB / 0.9902 GB, free: 9.426 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005733/0.829, allocations: 28.02 kB / 0.9903 GB, free: 9.398 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.513e-05/0.829, allocations: 28 kB / 0.9903 GB, free: 9.371 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 (53): * Single equations (assignments): 49 * 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 {(3,88.9%) 7,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004421/0.8295, allocations: 246.3 kB / 0.9905 GB, free: 9.121 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.8296, allocations: 59.34 kB / 0.9906 GB, free: 9.062 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001672/0.8313, allocations: 0.9082 MB / 0.9915 GB, free: 8.129 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.497e-05/0.8313, allocations: 7.953 kB / 0.9915 GB, free: 8.121 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.8313, allocations: 11.94 kB / 0.9915 GB, free: 8.109 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.8313, allocations: 4 kB / 0.9915 GB, free: 8.105 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002625/0.8339, allocations: 1.696 MB / 0.9932 GB, free: 6.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.834, allocations: 4 kB / 0.9932 GB, free: 6.316 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.8341, allocations: 43.86 kB / 0.9932 GB, free: 6.273 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008681/0.835, allocations: 319.6 kB / 0.9935 GB, free: 5.949 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.422e-05/0.8351, allocations: 12 kB / 0.9935 GB, free: 5.938 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00641/0.8415, allocations: 6.935 MB / 1 GB, free: 14.47 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.8415, allocations: 3.938 kB / 1 GB, free: 14.46 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001752/0.8433, allocations: 1.019 MB / 1.001 GB, free: 13.4 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003058/0.8436, allocations: 172.4 kB / 1.001 GB, free: 13.21 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.926e-05/0.8437, allocations: 16 kB / 1.001 GB, free: 13.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002563/0.8439, allocations: 15.98 kB / 1.001 GB, free: 13.18 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.8441, allocations: 47.94 kB / 1.002 GB, free: 13.13 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.644e-05/0.8441, allocations: 8 kB / 1.002 GB, free: 13.12 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.000368/0.8445, allocations: 310.9 kB / 1.002 GB, free: 12.82 MB / 0.7637 GB Notification: Performance of sort global known variables: time 3.81e-07/0.8445, allocations: 0 / 1.002 GB, free: 12.82 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0008877/0.8454, allocations: 196 kB / 1.002 GB, free: 12.63 MB / 0.7637 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 (23): * Single equations (assignments): 19 * 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 {(3,88.9%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001839/0.8472, allocations: 1.559 MB / 1.004 GB, free: 11.02 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001855/0.8491, allocations: 1.203 MB / 1.005 GB, free: 9.762 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.8491, allocations: 0 / 1.005 GB, free: 9.762 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.00116/0.8503, allocations: 0.8624 MB / 1.006 GB, free: 8.852 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.8513, allocations: 201.1 kB / 1.006 GB, free: 8.656 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00595/0.8572, allocations: 4.016 MB / 1.01 GB, free: 4.477 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000584/0.8579, allocations: 0.9882 MB / 1.011 GB, free: 3.457 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.000334/0.8582, allocations: 105.2 kB / 1.011 GB, free: 3.355 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002554/0.8585, allocations: 227.4 kB / 1.011 GB, free: 3.133 MB / 0.7637 GB Notification: Performance of SimCode: time 6.01e-07/0.8585, allocations: 0 / 1.011 GB, free: 3.133 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03378/0.8922, allocations: 14.58 MB / 1.025 GB, free: 4.871 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001952/0.8925, allocations: 226.9 kB / 1.025 GB, free: 4.629 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.994/2.886, allocations: 0 / 1.025 GB, free: 4.629 MB / 0.7794 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat does not exist to compare? outputFormat=mat