Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_latest_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_latest_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.0007888/0.0007888, allocations: 87.11 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.0008879/0.0008881, 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.356/1.356, allocations: 223.3 MB / 240 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.454/2.454, allocations: 409.4 MB / 0.684 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003542/0.0003543, allocations: 8 kB / 0.8378 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7314/0.7317, allocations: 146.8 MB / 0.9812 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.00708/0.7389, allocations: 5.389 MB / 0.9864 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.005055/0.744, allocations: 2.959 MB / 0.9893 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006402/0.7446, allocations: 23.81 kB / 0.9893 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0004768/0.7451, allocations: 119 kB / 0.9894 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.00126/0.7464, allocations: 378 kB / 0.9898 GB, free: 13.33 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001178/0.7476, allocations: 355.2 kB / 0.9901 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001538/0.7492, allocations: 1.209 MB / 0.9913 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001789/0.751, allocations: 0.9119 MB / 0.9922 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006825/0.7517, allocations: 358.5 kB / 0.9926 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007135/0.7524, allocations: 434.4 kB / 0.993 GB, free: 10.06 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001224/0.7525, allocations: 32 kB / 0.993 GB, free: 10.03 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000674/0.7532, allocations: 243.6 kB / 0.9932 GB, free: 9.789 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003104/0.7535, allocations: 255.2 kB / 0.9935 GB, free: 9.539 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002533/0.7538, allocations: 161.3 kB / 0.9936 GB, free: 9.375 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001116/0.7549, allocations: 0.8788 MB / 0.9945 GB, free: 8.496 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.7549, allocations: 0 / 0.9945 GB, free: 8.496 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.824e-06/0.7549, allocations: 4 kB / 0.9945 GB, free: 8.492 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 3.658e-05/0.755, allocations: 0 / 0.9945 GB, free: 8.492 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001739/0.7567, allocations: 0.9115 MB / 0.9954 GB, free: 7.531 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.7568, allocations: 12.02 kB / 0.9954 GB, free: 7.52 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002095/0.757, allocations: 118.5 kB / 0.9955 GB, free: 7.395 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001468/0.7585, allocations: 218.7 kB / 0.9957 GB, free: 7.18 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008319/0.7593, allocations: 0.5172 MB / 0.9962 GB, free: 6.617 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.08e-05/0.7594, allocations: 45.3 kB / 0.9963 GB, free: 6.574 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.497e-05/0.7595, allocations: 71.86 kB / 0.9963 GB, free: 6.504 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001345/0.7608, allocations: 1.029 MB / 0.9973 GB, free: 5.367 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.594e-05/0.7609, allocations: 7.938 kB / 0.9973 GB, free: 5.359 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.289e-05/0.7609, allocations: 31.98 kB / 0.9974 GB, free: 5.328 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.406e-05/0.761, allocations: 73.2 kB / 0.9974 GB, free: 5.254 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/0.7621, allocations: 0.6879 MB / 0.9981 GB, free: 4.566 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00454/0.7666, allocations: 5.757 MB / 1.004 GB, free: 14.38 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008271/0.7675, allocations: 0.5919 MB / 1.004 GB, free: 13.75 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000736/0.7682, allocations: 424.6 kB / 1.005 GB, free: 13.33 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 4.256e-05/0.7683, allocations: 7.984 kB / 1.005 GB, free: 13.32 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.733e-05/0.7683, allocations: 38.56 kB / 1.005 GB, free: 13.27 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=41): time 2.885e-06/0.7684, allocations: 3.938 kB / 1.005 GB, free: 13.27 MB / 0.7637 GB Notification: Performance of matching and sorting (n=42): time 0.004075/0.7724, allocations: 2.054 MB / 1.007 GB, free: 11.12 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.7725, allocations: 59.41 kB / 1.007 GB, free: 11.05 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004713/0.773, allocations: 446.8 kB / 1.007 GB, free: 10.6 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 3.076e-05/0.773, allocations: 33.7 kB / 1.007 GB, free: 10.56 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002381/0.7733, allocations: 391 kB / 1.008 GB, free: 10.18 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.7734, allocations: 145.9 kB / 1.008 GB, free: 10.03 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.395e-05/0.7734, allocations: 16 kB / 1.008 GB, free: 10.02 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.7736, allocations: 362.8 kB / 1.008 GB, free: 9.652 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003695/0.7739, allocations: 245.2 kB / 1.008 GB, free: 9.41 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004959/0.7745, allocations: 457 kB / 1.009 GB, free: 8.871 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004436/0.7749, allocations: 311.8 kB / 1.009 GB, free: 8.566 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.7749, allocations: 3.938 kB / 1.009 GB, free: 8.562 MB / 0.7637 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001759/0.7767, allocations: 1.058 MB / 1.01 GB, free: 7.484 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.981e-05/0.7767, allocations: 16.14 kB / 1.01 GB, free: 7.469 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.7767, allocations: 7.953 kB / 1.01 GB, free: 7.461 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009796/0.7777, allocations: 331.1 kB / 1.011 GB, free: 7.125 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003053/0.778, allocations: 95.83 kB / 1.011 GB, free: 7.031 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006461/0.7845, allocations: 6.939 MB / 1.017 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003877/0.7849, allocations: 28.03 kB / 1.017 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.835e-05/0.785, allocations: 31.98 kB / 1.017 GB, free: 15.5 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 (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.0003337/0.7853, allocations: 245.5 kB / 1.018 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.7855, allocations: 67.19 kB / 1.018 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001624/0.7871, allocations: 0.8962 MB / 1.019 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.7871, allocations: 15.97 kB / 1.019 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/0.7871, allocations: 4.188 kB / 1.019 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.7871, allocations: 0 / 1.019 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00273/0.7899, allocations: 1.708 MB / 1.02 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.7899, allocations: 4 kB / 1.02 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001654/0.7901, allocations: 39.91 kB / 1.02 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008993/0.791, allocations: 327.2 kB / 1.021 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.851e-05/0.791, allocations: 12 kB / 1.021 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006582/0.7976, allocations: 6.928 MB / 1.027 GB, free: 4.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.7976, allocations: 4 kB / 1.027 GB, free: 4.586 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001681/0.7993, allocations: 1.003 MB / 1.028 GB, free: 3.535 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003057/0.7997, allocations: 180.5 kB / 1.029 GB, free: 3.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.7998, allocations: 8 kB / 1.029 GB, free: 3.332 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002916/0.8001, allocations: 23.97 kB / 1.029 GB, free: 3.309 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.8002, allocations: 47.83 kB / 1.029 GB, free: 3.262 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.821e-05/0.8002, allocations: 16 kB / 1.029 GB, free: 3.246 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003501/0.8006, allocations: 302.9 kB / 1.029 GB, free: 2.953 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8006, allocations: 0 / 1.029 GB, free: 2.953 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0007668/0.8014, allocations: 196 kB / 1.029 GB, free: 2.762 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 (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.00193/0.8033, allocations: 1.557 MB / 1.031 GB, free: 1.148 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001878/0.8052, allocations: 1.191 MB / 1.032 GB, free: 15.91 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.8052, allocations: 0 / 1.032 GB, free: 15.91 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001156/0.8064, allocations: 0.866 MB / 1.033 GB, free: 14.99 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.8074, allocations: 185.9 kB / 1.033 GB, free: 14.81 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006017/0.8135, allocations: 3.988 MB / 1.037 GB, free: 10.66 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006013/0.8141, allocations: 0.9882 MB / 1.038 GB, free: 9.641 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.000336/0.8144, allocations: 105.1 kB / 1.038 GB, free: 9.539 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000269/0.8147, allocations: 223.4 kB / 1.038 GB, free: 9.32 MB / 0.795 GB Notification: Performance of SimCode: time 6.42e-07/0.8147, allocations: 0 / 1.038 GB, free: 9.32 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03032/0.8451, allocations: 14.45 MB / 1.052 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002038/0.8453, allocations: 220.5 kB / 1.052 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.063/2.909, allocations: 0 / 1.052 GB, free: 10.91 MB / 0.8106 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat does not exist to compare? outputFormat=mat