Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.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.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_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.001414/0.001414, allocations: 99.86 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.001577/0.001578, allocations: 177.3 kB / 15.94 MB, free: 228 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.412/2.412, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.833/4.833, allocations: 409.2 MB / 0.6838 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007879/0.0007885, allocations: 8 kB / 0.8375 GB, free: 6.555 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.618/1.619, allocations: 146.8 MB / 0.9809 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.0135/1.632, allocations: 5.705 MB / 0.9864 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.008927/1.642, allocations: 2.913 MB / 0.9893 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001404/1.643, allocations: 23.81 kB / 0.9893 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0012/1.644, allocations: 115.2 kB / 0.9894 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.003182/1.647, allocations: 414.7 kB / 0.9898 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001984/1.649, allocations: 327.3 kB / 0.9901 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002815/1.652, allocations: 0.7349 MB / 0.9908 GB, free: 12.06 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003234/1.656, allocations: 0.931 MB / 0.9917 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001557/1.657, allocations: 358.7 kB / 0.9921 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001705/1.659, allocations: 394.5 kB / 0.9925 GB, free: 10.37 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0003703/1.659, allocations: 36 kB / 0.9925 GB, free: 10.33 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001128/1.66, allocations: 151.7 kB / 0.9926 GB, free: 10.18 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0006179/1.661, allocations: 247.3 kB / 0.9929 GB, free: 9.941 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0007369/1.662, allocations: 177.3 kB / 0.9931 GB, free: 9.762 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002283/1.664, allocations: 0.8593 MB / 0.9939 GB, free: 8.902 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/1.664, allocations: 0 / 0.9939 GB, free: 8.902 MB / 0.7481 GB Notification: Performance of FrontEnd: time 4.308e-06/1.664, allocations: 0 / 0.9939 GB, free: 8.902 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 8.327e-05/1.664, allocations: 0 / 0.9939 GB, free: 8.902 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.00444/1.669, allocations: 1.003 MB / 0.9949 GB, free: 7.852 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001031/1.669, allocations: 8.031 kB / 0.9949 GB, free: 7.844 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005558/1.669, allocations: 126.5 kB / 0.995 GB, free: 7.711 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002711/1.672, allocations: 218.7 kB / 0.9952 GB, free: 7.496 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001723/1.674, allocations: 0.5249 MB / 0.9957 GB, free: 6.926 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.526e-05/1.674, allocations: 49.3 kB / 0.9958 GB, free: 6.879 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001678/1.674, allocations: 63.94 kB / 0.9958 GB, free: 6.816 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002598/1.677, allocations: 1.069 MB / 0.9969 GB, free: 5.637 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.306e-05/1.677, allocations: 7.938 kB / 0.9969 GB, free: 5.629 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001204/1.677, allocations: 31.98 kB / 0.9969 GB, free: 5.598 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002614/1.677, allocations: 85.25 kB / 0.997 GB, free: 5.516 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001916/1.679, allocations: 0.7465 MB / 0.9977 GB, free: 4.77 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01014/1.689, allocations: 5.909 MB / 1.003 GB, free: 14.43 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/1.691, allocations: 0.5491 MB / 1.004 GB, free: 13.87 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 5.086e-05/1.691, allocations: 4.438 kB / 1.004 GB, free: 13.87 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.804e-05/1.691, allocations: 46.94 kB / 1.004 GB, free: 13.81 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=47): time 3.947e-06/1.691, allocations: 7.938 kB / 1.004 GB, free: 13.8 MB / 0.7637 GB Notification: Performance of matching and sorting (n=48): time 0.00649/1.698, allocations: 1.969 MB / 1.006 GB, free: 11.74 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.229e-05/1.698, allocations: 55.84 kB / 1.006 GB, free: 11.68 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/1.699, allocations: 0.5547 MB / 1.007 GB, free: 11.11 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 7.924e-05/1.699, allocations: 37.7 kB / 1.007 GB, free: 11.07 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004905/1.7, allocations: 410.9 kB / 1.007 GB, free: 10.66 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002356/1.7, allocations: 173.6 kB / 1.007 GB, free: 10.49 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.112e-05/1.7, allocations: 12 kB / 1.007 GB, free: 10.48 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0003273/1.7, allocations: 378.7 kB / 1.008 GB, free: 10.1 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006427/1.701, allocations: 273.8 kB / 1.008 GB, free: 9.828 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009392/1.702, allocations: 497 kB / 1.008 GB, free: 9.25 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008275/1.703, allocations: 346 kB / 1.009 GB, free: 8.914 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.006e-05/1.703, allocations: 4 kB / 1.009 GB, free: 8.91 MB / 0.7637 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003086/1.706, allocations: 1.071 MB / 1.01 GB, free: 7.82 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.701e-05/1.706, allocations: 11.95 kB / 1.01 GB, free: 7.809 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.411e-05/1.706, allocations: 11.94 kB / 1.01 GB, free: 7.797 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001326/1.707, allocations: 279.7 kB / 1.01 GB, free: 7.512 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000794/1.708, allocations: 123.8 kB / 1.01 GB, free: 7.391 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01122/1.719, allocations: 6.697 MB / 1.017 GB, free: 160 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001231/1.721, allocations: 39.97 kB / 1.017 GB, free: 120 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/1.721, allocations: 31.98 kB / 1.017 GB, free: 88 kB / 0.7637 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.0007559/1.721, allocations: 253.5 kB / 1.017 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002237/1.722, allocations: 71.16 kB / 1.017 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002622/1.724, allocations: 0.8847 MB / 1.018 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/1.724, allocations: 4 kB / 1.018 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/1.724, allocations: 4 kB / 1.018 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.539e-05/1.724, allocations: 7.938 kB / 1.018 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004236/1.729, allocations: 1.72 MB / 1.02 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/1.729, allocations: 4.188 kB / 1.02 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004163/1.729, allocations: 59.89 kB / 1.02 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00115/1.73, allocations: 275.8 kB / 1.02 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.418e-05/1.73, allocations: 8 kB / 1.02 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01093/1.741, allocations: 6.698 MB / 1.026 GB, free: 5.449 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/1.741, allocations: 0 / 1.026 GB, free: 5.449 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002717/1.744, allocations: 1.044 MB / 1.027 GB, free: 4.32 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006036/1.745, allocations: 200.2 kB / 1.028 GB, free: 4.105 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/1.745, allocations: 8 kB / 1.028 GB, free: 4.098 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005582/1.745, allocations: 27.97 kB / 1.028 GB, free: 4.07 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002405/1.746, allocations: 51.88 kB / 1.028 GB, free: 4.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.852e-05/1.746, allocations: 8 kB / 1.028 GB, free: 4.012 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0007414/1.747, allocations: 383.1 kB / 1.028 GB, free: 3.641 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/1.747, allocations: 0 / 1.028 GB, free: 3.641 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001462/1.748, allocations: 224 kB / 1.028 GB, free: 3.422 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.003242/1.751, allocations: 2.014 MB / 1.03 GB, free: 1.328 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.003346/1.755, allocations: 1.264 MB / 1.032 GB, free: 20 kB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-05/1.755, allocations: 0 / 1.032 GB, free: 20 kB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.002114/1.757, allocations: 0.8931 MB / 1.032 GB, free: 15.07 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001737/1.759, allocations: 199.7 kB / 1.033 GB, free: 14.88 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01628/1.775, allocations: 8.893 MB / 1.041 GB, free: 5.758 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001364/1.776, allocations: 1.02 MB / 1.042 GB, free: 4.711 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0008654/1.777, allocations: 122 kB / 1.042 GB, free: 4.59 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005087/1.778, allocations: 251.3 kB / 1.043 GB, free: 4.344 MB / 0.795 GB Notification: Performance of SimCode: time 2.013e-06/1.778, allocations: 0 / 1.043 GB, free: 4.344 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07078/1.849, allocations: 16.19 MB / 1.058 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004605/1.849, allocations: 212.7 kB / 1.059 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.684/5.533, allocations: 3.938 kB / 1.059 GB, free: 4.215 MB / 0.8106 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.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.OnePhase.Lines.Examples.ACLine_R_res.mat does not exist to compare? outputFormat=mat