Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",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.0009286/0.0009286, allocations: 100 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.001023/0.001023, allocations: 177.3 kB / 15.95 MB, free: 216 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.467/1.467, allocations: 223.2 MB / 239.9 MB, free: 5.434 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.643/2.643, allocations: 390.3 MB / 0.6653 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004426/0.0004424, allocations: 8 kB / 0.8146 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8732/0.8736, allocations: 142.3 MB / 0.9536 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01181/0.8855, allocations: 11.9 MB / 0.9652 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01316/0.8987, allocations: 8.633 MB / 0.9737 GB, free: 8.387 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001654/0.9004, allocations: 50.88 kB / 0.9737 GB, free: 8.363 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001138/0.9015, allocations: 253.6 kB / 0.9739 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004884/0.9064, allocations: 1.259 MB / 0.9752 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001845/0.9083, allocations: 0.512 MB / 0.9757 GB, free: 6.723 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003525/0.9118, allocations: 1.525 MB / 0.9772 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00367/0.9155, allocations: 1.803 MB / 0.9789 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001969/0.9175, allocations: 0.765 MB / 0.9797 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002137/0.9197, allocations: 0.8383 MB / 0.9805 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002698/0.9199, allocations: 72.19 kB / 0.9806 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00155/0.9215, allocations: 388.5 kB / 0.9809 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004835/0.922, allocations: 474.3 kB / 0.9814 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0004733/0.9225, allocations: 351.7 kB / 0.9817 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002163/0.9246, allocations: 2.086 MB / 0.9838 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.9247, allocations: 0 / 0.9838 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.256e-06/0.9247, allocations: 0 / 0.9838 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.932e-05/0.9247, allocations: 0 / 0.9838 GB, free: 1.16 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.00376/0.9285, allocations: 1.808 MB / 0.9855 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.9286, allocations: 12.02 kB / 0.9855 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002877/0.9288, allocations: 198.2 kB / 0.9857 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01131/0.9402, allocations: 2.162 MB / 0.9878 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002971/0.9432, allocations: 1.154 MB / 0.989 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.53e-05/0.9433, allocations: 94.31 kB / 0.989 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002747/0.9436, allocations: 119.9 kB / 0.9892 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005596/0.9492, allocations: 2.679 MB / 0.9918 GB, free: 8.664 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.368e-05/0.9492, allocations: 7.984 kB / 0.9918 GB, free: 8.656 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001642/0.9494, allocations: 55.98 kB / 0.9918 GB, free: 8.602 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006285/0.95, allocations: 178.1 kB / 0.992 GB, free: 8.426 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007306/0.9574, allocations: 2.842 MB / 0.9948 GB, free: 5.574 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01539/0.9728, allocations: 10.57 MB / 1.005 GB, free: 10.42 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007011/0.9798, allocations: 2.572 MB / 1.008 GB, free: 7.785 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 8.527e-05/0.98, allocations: 16.94 kB / 1.008 GB, free: 7.77 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/0.98, allocations: 43.56 kB / 1.008 GB, free: 7.719 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=89): time 2.615e-06/0.98, allocations: 0 / 1.008 GB, free: 7.719 MB / 0.7637 GB Notification: Performance of matching and sorting (n=131): time 0.04451/1.025, allocations: 13.42 MB / 1.021 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/1.025, allocations: 64.72 kB / 1.021 GB, free: 10 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001618/1.026, allocations: 1.109 MB / 1.022 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001799/1.026, allocations: 49.7 kB / 1.022 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005416/1.027, allocations: 0.7117 MB / 1.023 GB, free: 8.105 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005031/1.028, allocations: 457.4 kB / 1.023 GB, free: 7.652 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/1.028, allocations: 24 kB / 1.023 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000147/1.028, allocations: 373.8 kB / 1.023 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00324/1.031, allocations: 1.354 MB / 1.025 GB, free: 5.902 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003448/1.035, allocations: 1.62 MB / 1.026 GB, free: 4.188 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003368/1.038, allocations: 1.45 MB / 1.028 GB, free: 2.734 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/1.038, allocations: 3.938 kB / 1.028 GB, free: 2.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01138/1.049, allocations: 4.466 MB / 1.032 GB, free: 14.21 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.397e-05/1.049, allocations: 11.95 kB / 1.032 GB, free: 14.2 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/1.049, allocations: 8 kB / 1.032 GB, free: 14.19 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005067/1.054, allocations: 1.428 MB / 1.034 GB, free: 12.72 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002098/1.057, allocations: 443.2 kB / 1.034 GB, free: 12.29 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02437/1.081, allocations: 25 MB / 1.058 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002881/1.084, allocations: 311.5 kB / 1.059 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001792/1.084, allocations: 67.95 kB / 1.059 GB, free: 1.172 MB / 0.8106 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 (99): * Single equations (assignments): 86 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009377/1.085, allocations: 434.3 kB / 1.059 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002646/1.085, allocations: 166.1 kB / 1.059 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.011/1.096, allocations: 4.477 MB / 1.064 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.825e-05/1.096, allocations: 12 kB / 1.064 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.951e-05/1.096, allocations: 12 kB / 1.064 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.846e-05/1.096, allocations: 7.969 kB / 1.064 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01515/1.112, allocations: 6.837 MB / 1.07 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/1.112, allocations: 4 kB / 1.07 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001784/1.113, allocations: 395.6 kB / 1.071 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004521/1.118, allocations: 1.311 MB / 1.072 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001618/1.118, allocations: 39.97 kB / 1.072 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02299/1.141, allocations: 23.97 MB / 1.096 GB, free: 9.523 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/1.141, allocations: 7.984 kB / 1.096 GB, free: 9.516 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01113/1.152, allocations: 4.38 MB / 1.1 GB, free: 4.957 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001365/1.154, allocations: 459 kB / 1.1 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002785/1.154, allocations: 24 kB / 1.1 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002139/1.156, allocations: 323.4 kB / 1.101 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004761/1.157, allocations: 128.7 kB / 1.101 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001223/1.157, allocations: 47.97 kB / 1.101 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001195/1.158, allocations: 0.7409 MB / 1.101 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/1.158, allocations: 4 kB / 1.101 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002816/1.161, allocations: 0.5664 MB / 1.102 GB, free: 2.664 MB / 0.8575 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 (67): * Single equations (assignments): 54 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(2,100.0%) 4,(3,100.0%) 9,(2,100.0%) 4,(3,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01215/1.173, allocations: 5.706 MB / 1.108 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01242/1.186, allocations: 5.143 MB / 1.113 GB, free: 7.496 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/1.186, allocations: 0 / 1.113 GB, free: 7.496 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.007118/1.193, allocations: 3.504 MB / 1.116 GB, free: 3.824 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00256/1.195, allocations: 496.1 kB / 1.117 GB, free: 3.348 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03293/1.228, allocations: 18.85 MB / 1.135 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001356/1.23, allocations: 1.505 MB / 1.136 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.002079/1.232, allocations: 429.6 kB / 1.137 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009612/1.233, allocations: 0.6242 MB / 1.137 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of SimCode: time 3.136e-06/1.233, allocations: 0 / 1.137 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09119/1.324, allocations: 49.68 MB / 1.186 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001914/1.324, allocations: 222.1 kB / 1.186 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.139/4.463, allocations: 0 / 1.186 GB, free: 12.11 MB / 0.9512 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat does not exist to compare? outputFormat=mat