Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",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.001482/0.001482, allocations: 100.1 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.001754/0.001754, 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 2.766/2.766, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.385/5.385, allocations: 409.2 MB / 0.6838 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007657/0.0007661, allocations: 8 kB / 0.8375 GB, free: 6.535 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.915/1.916, allocations: 146.8 MB / 0.9809 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.01261/1.929, allocations: 5.772 MB / 0.9865 GB, free: 476 kB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01056/1.939, allocations: 2.94 MB / 0.9894 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00155/1.941, allocations: 23.81 kB / 0.9894 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0008461/1.942, allocations: 119.1 kB / 0.9895 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.003087/1.945, allocations: 418.7 kB / 0.9899 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.00207/1.947, allocations: 342.1 kB / 0.9902 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002171/1.949, allocations: 0.7466 MB / 0.991 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003346/1.953, allocations: 0.9247 MB / 0.9919 GB, free: 10.94 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001292/1.954, allocations: 350.8 kB / 0.9922 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001028/1.955, allocations: 398.5 kB / 0.9926 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001204/1.955, allocations: 36 kB / 0.9926 GB, free: 10.17 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008378/1.956, allocations: 155.7 kB / 0.9928 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.000504/1.957, allocations: 243.3 kB / 0.993 GB, free: 9.777 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0004318/1.957, allocations: 177.3 kB / 0.9932 GB, free: 9.598 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002314/1.959, allocations: 0.8632 MB / 0.994 GB, free: 8.734 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/1.959, allocations: 0 / 0.994 GB, free: 8.734 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.385e-06/1.959, allocations: 4 kB / 0.994 GB, free: 8.73 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.689e-05/1.959, allocations: 0 / 0.994 GB, free: 8.73 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.003524/1.963, allocations: 1.005 MB / 0.995 GB, free: 7.676 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001187/1.963, allocations: 12.03 kB / 0.995 GB, free: 7.664 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002822/1.963, allocations: 114.5 kB / 0.9951 GB, free: 7.543 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002382/1.966, allocations: 222.7 kB / 0.9953 GB, free: 7.324 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00197/1.968, allocations: 0.5404 MB / 0.9959 GB, free: 6.738 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/1.968, allocations: 57.28 kB / 0.9959 GB, free: 6.684 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002224/1.968, allocations: 63.94 kB / 0.996 GB, free: 6.621 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003777/1.972, allocations: 1.065 MB / 0.997 GB, free: 5.441 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-05/1.972, allocations: 11.94 kB / 0.997 GB, free: 5.43 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001463/1.972, allocations: 31.98 kB / 0.9971 GB, free: 5.398 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003843/1.973, allocations: 85.25 kB / 0.9971 GB, free: 5.316 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002724/1.975, allocations: 0.7426 MB / 0.9979 GB, free: 4.574 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01426/1.99, allocations: 5.897 MB / 1.004 GB, free: 14.25 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001804/1.991, allocations: 0.558 MB / 1.004 GB, free: 13.68 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 5.353e-05/1.992, allocations: 12.38 kB / 1.004 GB, free: 13.67 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.681e-05/1.992, allocations: 43 kB / 1.004 GB, free: 13.62 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=47): time 7.434e-06/1.992, allocations: 0 / 1.004 GB, free: 13.62 MB / 0.7637 GB Notification: Performance of matching and sorting (n=48): time 0.006553/1.998, allocations: 1.976 MB / 1.006 GB, free: 11.55 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.236e-05/1.998, allocations: 59.84 kB / 1.006 GB, free: 11.48 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/1.999, allocations: 0.5548 MB / 1.007 GB, free: 10.91 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.000111/2, allocations: 41.64 kB / 1.007 GB, free: 10.87 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005414/2, allocations: 418.9 kB / 1.007 GB, free: 10.45 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002631/2, allocations: 169.5 kB / 1.007 GB, free: 10.29 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.778e-05/2, allocations: 16 kB / 1.007 GB, free: 10.27 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0003722/2.001, allocations: 374.7 kB / 1.008 GB, free: 9.895 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006208/2.001, allocations: 273.8 kB / 1.008 GB, free: 9.625 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008951/2.002, allocations: 489 kB / 1.008 GB, free: 9.055 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007741/2.003, allocations: 342 kB / 1.009 GB, free: 8.723 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/2.003, allocations: 4 kB / 1.009 GB, free: 8.719 MB / 0.7637 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002865/2.006, allocations: 1.083 MB / 1.01 GB, free: 7.617 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.873e-05/2.006, allocations: 13.67 kB / 1.01 GB, free: 7.605 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.396e-05/2.006, allocations: 8 kB / 1.01 GB, free: 7.598 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001312/2.007, allocations: 283.5 kB / 1.01 GB, free: 7.309 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007715/2.008, allocations: 123.8 kB / 1.01 GB, free: 7.188 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01156/2.02, allocations: 6.693 MB / 1.017 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/2.021, allocations: 48.02 kB / 1.017 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.626e-05/2.021, allocations: 28 kB / 1.017 GB, free: 15.88 MB / 0.7794 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 (67): * Single equations (assignments): 63 * 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,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000739/2.022, allocations: 258 kB / 1.017 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001907/2.022, allocations: 67.25 kB / 1.017 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002626/2.025, allocations: 0.8925 MB / 1.018 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/2.025, allocations: 4 kB / 1.018 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/2.025, allocations: 4 kB / 1.018 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.542e-05/2.025, allocations: 7.938 kB / 1.018 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004535/2.029, allocations: 1.713 MB / 1.02 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/2.029, allocations: 7.922 kB / 1.02 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003982/2.03, allocations: 64.14 kB / 1.02 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001202/2.031, allocations: 275.1 kB / 1.02 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.239e-05/2.031, allocations: 12 kB / 1.02 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01198/2.043, allocations: 6.689 MB / 1.027 GB, free: 5.234 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/2.043, allocations: 0 / 1.027 GB, free: 5.234 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003194/2.046, allocations: 1.056 MB / 1.028 GB, free: 4.094 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006992/2.047, allocations: 192.2 kB / 1.028 GB, free: 3.887 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/2.047, allocations: 12 kB / 1.028 GB, free: 3.875 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005843/2.048, allocations: 28.34 kB / 1.028 GB, free: 3.848 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001968/2.048, allocations: 47.88 kB / 1.028 GB, free: 3.801 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-05/2.048, allocations: 16 kB / 1.028 GB, free: 3.785 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000948/2.049, allocations: 383.1 kB / 1.028 GB, free: 3.418 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.8e-07/2.049, allocations: 0 / 1.028 GB, free: 3.418 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001687/2.051, allocations: 227.9 kB / 1.029 GB, free: 3.195 MB / 0.7794 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 (31): * Single equations (assignments): 27 * 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,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003973/2.055, allocations: 2.017 MB / 1.03 GB, free: 1.098 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.003798/2.059, allocations: 1.26 MB / 1.032 GB, free: 15.79 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.228e-05/2.059, allocations: 4.062 kB / 1.032 GB, free: 15.79 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002256/2.061, allocations: 0.897 MB / 1.033 GB, free: 14.84 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001481/2.062, allocations: 196.4 kB / 1.033 GB, free: 14.65 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01882/2.081, allocations: 8.928 MB / 1.041 GB, free: 5.492 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00192/2.083, allocations: 1.024 MB / 1.042 GB, free: 4.441 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0009361/2.084, allocations: 130.2 kB / 1.043 GB, free: 4.312 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005861/2.085, allocations: 247.4 kB / 1.043 GB, free: 4.07 MB / 0.795 GB Notification: Performance of SimCode: time 3.046e-06/2.085, allocations: 0 / 1.043 GB, free: 4.07 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1467/2.232, allocations: 16.32 MB / 1.059 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0006203/2.232, allocations: 218.1 kB / 1.059 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.631/6.864, allocations: 0 / 1.059 GB, free: 3.863 MB / 0.8106 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat does not exist to compare? outputFormat=mat