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.0007769/0.0007769, allocations: 84.38 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.0009105/0.0009106, 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.386/1.386, allocations: 223.2 MB / 240 MB, free: 5.422 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.448/2.448, allocations: 390.4 MB / 0.6655 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003694/0.0003697, allocations: 8 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7375/0.7379, allocations: 142.3 MB / 0.9539 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.006303/0.7442, allocations: 5.397 MB / 0.9591 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004693/0.749, allocations: 2.938 MB / 0.962 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007917/0.7498, allocations: 24.88 kB / 0.962 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005171/0.7503, allocations: 121.8 kB / 0.9621 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001406/0.7517, allocations: 375.5 kB / 0.9625 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001184/0.7529, allocations: 368.5 kB / 0.9629 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001855/0.7548, allocations: 1.21 MB / 0.964 GB, free: 272 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001903/0.7567, allocations: 0.9064 MB / 0.9649 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008286/0.7576, allocations: 355.7 kB / 0.9653 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009497/0.7585, allocations: 443.8 kB / 0.9657 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001605/0.7587, allocations: 31.28 kB / 0.9657 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009722/0.7597, allocations: 255.2 kB / 0.966 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003476/0.76, allocations: 252.2 kB / 0.9662 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002487/0.7603, allocations: 158.1 kB / 0.9664 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001062/0.7614, allocations: 0.881 MB / 0.9672 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.7614, allocations: 0 / 0.9672 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.363e-06/0.7614, allocations: 3.938 kB / 0.9672 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.344e-05/0.7614, allocations: 0 / 0.9672 GB, free: 14.27 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.0016/0.763, allocations: 0.9197 MB / 0.9681 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.7631, allocations: 9.188 kB / 0.9681 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001468/0.7632, allocations: 116.2 kB / 0.9682 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001471/0.7647, allocations: 221.7 kB / 0.9684 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008459/0.7656, allocations: 0.5072 MB / 0.9689 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.606e-05/0.7656, allocations: 46.86 kB / 0.969 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001231/0.7658, allocations: 67.92 kB / 0.969 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001609/0.7674, allocations: 1.029 MB / 0.9701 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.855e-05/0.7674, allocations: 7.875 kB / 0.9701 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.215e-05/0.7675, allocations: 28.17 kB / 0.9701 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001071/0.7676, allocations: 70.58 kB / 0.9702 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/0.7687, allocations: 0.6899 MB / 0.9708 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005698/0.7744, allocations: 5.75 MB / 0.9764 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.7755, allocations: 0.6058 MB / 0.977 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008764/0.7764, allocations: 425.2 kB / 0.9774 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.035e-05/0.7764, allocations: 3.156 kB / 0.9774 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.7764, allocations: 37.91 kB / 0.9775 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=41): time 1.963e-06/0.7764, allocations: 4 kB / 0.9775 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of matching and sorting (n=42): time 0.004639/0.7811, allocations: 2.05 MB / 0.9795 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/0.7812, allocations: 63.67 kB / 0.9795 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005862/0.7818, allocations: 449.6 kB / 0.98 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.698e-05/0.7818, allocations: 31.58 kB / 0.98 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002644/0.7821, allocations: 392.8 kB / 0.9804 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/0.7822, allocations: 150.3 kB / 0.9805 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.961e-05/0.7823, allocations: 10.12 kB / 0.9805 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000182/0.7824, allocations: 359.5 kB / 0.9809 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003623/0.7828, allocations: 245.9 kB / 0.9811 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004973/0.7833, allocations: 461.5 kB / 0.9816 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004661/0.7838, allocations: 309.6 kB / 0.9818 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.7838, allocations: 1.156 kB / 0.9818 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00188/0.7857, allocations: 1.062 MB / 0.9829 GB, free: 1.434 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.7857, allocations: 8 kB / 0.9829 GB, free: 1.426 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.7857, allocations: 8 kB / 0.9829 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000976/0.7867, allocations: 327.6 kB / 0.9832 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003056/0.787, allocations: 99.81 kB / 0.9833 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006438/0.7935, allocations: 6.935 MB / 0.9901 GB, free: 9.512 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005217/0.794, allocations: 36.3 kB / 0.9901 GB, free: 9.477 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.413e-05/0.7941, allocations: 24 kB / 0.9901 GB, free: 9.453 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.0004093/0.7945, allocations: 252.5 kB / 0.9904 GB, free: 9.199 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.45e-05/0.7946, allocations: 59.28 kB / 0.9904 GB, free: 9.141 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001672/0.7963, allocations: 0.9197 MB / 0.9913 GB, free: 8.195 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.7963, allocations: 7.953 kB / 0.9913 GB, free: 8.188 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.7963, allocations: 8 kB / 0.9913 GB, free: 8.18 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.7963, allocations: 3.984 kB / 0.9914 GB, free: 8.176 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00327/0.7996, allocations: 1.693 MB / 0.993 GB, free: 6.395 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.844e-06/0.7996, allocations: 4 kB / 0.993 GB, free: 6.391 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002354/0.7999, allocations: 47.86 kB / 0.9931 GB, free: 6.344 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00111/0.801, allocations: 319.2 kB / 0.9934 GB, free: 6.016 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.154e-05/0.801, allocations: 12 kB / 0.9934 GB, free: 6.004 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006473/0.8075, allocations: 6.923 MB / 1 GB, free: 14.55 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.8075, allocations: 3.938 kB / 1 GB, free: 14.54 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001694/0.8092, allocations: 1.015 MB / 1.001 GB, free: 13.48 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002459/0.8095, allocations: 172.4 kB / 1.001 GB, free: 13.29 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.705e-05/0.8096, allocations: 12.28 kB / 1.001 GB, free: 13.28 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002433/0.8098, allocations: 19.97 kB / 1.001 GB, free: 13.26 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.707e-05/0.8099, allocations: 43.95 kB / 1.001 GB, free: 13.22 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-05/0.8099, allocations: 11.94 kB / 1.001 GB, free: 13.21 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0003317/0.8103, allocations: 302.9 kB / 1.002 GB, free: 12.91 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8103, allocations: 4 kB / 1.002 GB, free: 12.91 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0008166/0.8111, allocations: 192 kB / 1.002 GB, free: 12.72 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.001834/0.813, allocations: 1.556 MB / 1.003 GB, free: 11.11 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001896/0.8149, allocations: 1.207 MB / 1.005 GB, free: 9.852 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.8149, allocations: 0 / 1.005 GB, free: 9.852 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.00119/0.8161, allocations: 0.8584 MB / 1.005 GB, free: 8.941 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009384/0.817, allocations: 193.8 kB / 1.006 GB, free: 8.754 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006587/0.8236, allocations: 3.986 MB / 1.009 GB, free: 4.605 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000714/0.8244, allocations: 0.992 MB / 1.01 GB, free: 3.582 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0003395/0.8247, allocations: 97.17 kB / 1.011 GB, free: 3.488 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002527/0.825, allocations: 227.4 kB / 1.011 GB, free: 3.266 MB / 0.7637 GB Notification: Performance of SimCode: time 9.12e-07/0.825, allocations: 0 / 1.011 GB, free: 3.266 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03333/0.8583, allocations: 14.45 MB / 1.025 GB, free: 5.078 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002124/0.8586, allocations: 216.3 kB / 1.025 GB, free: 4.836 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.034/2.893, allocations: 0 / 1.025 GB, free: 4.836 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