Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter",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.0008116/0.0008116, allocations: 97.8 kB / 15.36 MB, free: 0.7344 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.005187/0.005187, allocations: 171.2 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001784/0.001784, allocations: 270.7 kB / 291.7 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9327/0.9327, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004341/0.0004342, allocations: 11.75 kB / 0.5988 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1772, allocations: 88.55 MB / 0.6853 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.003126/0.1803, allocations: 2.416 MB / 0.6876 GB, free: 12.55 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00287/0.1832, allocations: 1.999 MB / 0.6896 GB, free: 10.54 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001139/0.1834, allocations: 8.531 kB / 0.6896 GB, free: 10.53 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001649/0.1835, allocations: 33.7 kB / 0.6896 GB, free: 10.5 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004691/0.184, allocations: 179.3 kB / 0.6898 GB, free: 10.32 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005925/0.1846, allocations: 243.7 kB / 0.69 GB, free: 10.09 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004329/0.1851, allocations: 458.8 kB / 0.6904 GB, free: 9.641 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000595/0.1857, allocations: 367.1 kB / 0.6908 GB, free: 9.258 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001533/0.1858, allocations: 96.41 kB / 0.6909 GB, free: 9.164 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002665/0.1861, allocations: 145.2 kB / 0.691 GB, free: 9.023 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.774e-05/0.1861, allocations: 12 kB / 0.691 GB, free: 9.012 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006027/0.1868, allocations: 451.1 kB / 0.6915 GB, free: 8.57 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.916e-05/0.1869, allocations: 79.78 kB / 0.6915 GB, free: 8.492 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.187, allocations: 137.1 kB / 0.6917 GB, free: 8.352 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005061/0.1875, allocations: 471.2 kB / 0.6921 GB, free: 7.891 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1875, allocations: 0 / 0.6921 GB, free: 7.891 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1875, allocations: 1.688 kB / 0.6921 GB, free: 7.891 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.1875, allocations: 0 / 0.6921 GB, free: 7.891 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0008303/0.1884, allocations: 0.5176 MB / 0.6926 GB, free: 7.328 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.1884, allocations: 12.03 kB / 0.6926 GB, free: 7.316 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.312e-05/0.1885, allocations: 54.73 kB / 0.6927 GB, free: 7.254 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007036/0.1892, allocations: 104.5 kB / 0.6928 GB, free: 7.152 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002919/0.1895, allocations: 257.2 kB / 0.693 GB, free: 6.863 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.1895, allocations: 17.38 kB / 0.6931 GB, free: 6.848 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.847e-05/0.1896, allocations: 23.88 kB / 0.6931 GB, free: 6.824 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006257/0.1902, allocations: 393.4 kB / 0.6935 GB, free: 6.414 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.1902, allocations: 7.938 kB / 0.6935 GB, free: 6.406 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.931e-05/0.1903, allocations: 4 kB / 0.6935 GB, free: 6.402 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-05/0.1903, allocations: 27.98 kB / 0.6935 GB, free: 6.375 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006244/0.1909, allocations: 367.7 kB / 0.6938 GB, free: 6.016 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001879/0.1928, allocations: 1.741 MB / 0.6955 GB, free: 4.129 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000633/0.1935, allocations: 341 kB / 0.6959 GB, free: 3.777 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003126/0.1938, allocations: 197.5 kB / 0.6961 GB, free: 3.578 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001409/0.194, allocations: 93.03 kB / 0.6961 GB, free: 3.469 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.194, allocations: 38.56 kB / 0.6962 GB, free: 3.422 MB / 494.1 MB Notification: Performance of pre-optimization done (n=25): time 1.763e-06/0.194, allocations: 0 / 0.6962 GB, free: 3.422 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.007521/0.2015, allocations: 2.068 MB / 0.6982 GB, free: 1.348 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.438e-05/0.2016, allocations: 85.11 kB / 0.6983 GB, free: 1.246 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.2018, allocations: 171.8 kB / 0.6984 GB, free: 1.066 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.973e-05/0.2018, allocations: 33.7 kB / 0.6985 GB, free: 1.027 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.231e-05/0.2019, allocations: 156.3 kB / 0.6986 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.542e-05/0.202, allocations: 122.3 kB / 0.6987 GB, free: 0.75 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.221e-05/0.2021, allocations: 33.7 kB / 0.6988 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.2022, allocations: 334.8 kB / 0.6991 GB, free: 384 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004579/0.2027, allocations: 255.8 kB / 0.6993 GB, free: 128 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005286/0.2032, allocations: 349.4 kB / 0.6997 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.2043, allocations: 0.6234 MB / 0.7003 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2043, allocations: 0 / 0.7003 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001157/0.2054, allocations: 0.6581 MB / 0.7009 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001078/0.2055, allocations: 168.9 kB / 0.7011 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.2056, allocations: 4 kB / 0.7011 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.2056, allocations: 4 kB / 0.7011 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009052/0.2065, allocations: 147.8 kB / 0.7012 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.2065, allocations: 4 kB / 0.7012 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004013/0.2069, allocations: 63.92 kB / 0.7013 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.829e-05/0.207, allocations: 15.94 kB / 0.7013 GB, free: 14 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.422e-06/0.207, allocations: 4 kB / 0.7013 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001052/0.208, allocations: 0.5892 MB / 0.7019 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.2081, allocations: 0 / 0.7019 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.095e-06/0.2081, allocations: 11.92 kB / 0.7019 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008332/0.2089, allocations: 156.1 kB / 0.7021 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.2089, allocations: 7.938 kB / 0.7021 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003651/0.2093, allocations: 51.94 kB / 0.7021 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.564e-05/0.2093, allocations: 15.98 kB / 0.7021 GB, free: 13.17 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002246/0.2096, allocations: 247.7 kB / 0.7024 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.089e-05/0.2097, allocations: 23.75 kB / 0.7024 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00133/0.211, allocations: 0.6846 MB / 0.7031 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.211, allocations: 4 kB / 0.7031 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.321e-06/0.211, allocations: 0 / 0.7031 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.211, allocations: 0 / 0.7031 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002115/0.2132, allocations: 1.4 MB / 0.7044 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.2132, allocations: 0 / 0.7044 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00056/0.2137, allocations: 123.8 kB / 0.7045 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.992e-06/0.2138, allocations: 4 kB / 0.7045 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.692e-05/0.2138, allocations: 8 kB / 0.7046 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.2138, allocations: 7.984 kB / 0.7046 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.2138, allocations: 11.88 kB / 0.7046 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009955/0.2148, allocations: 0.7314 MB / 0.7053 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/0.215, allocations: 140.8 kB / 0.7054 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.548e-05/0.215, allocations: 12 kB / 0.7054 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003276/0.2153, allocations: 43.94 kB / 0.7055 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.757e-05/0.2154, allocations: 31.84 kB / 0.7055 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.528e-05/0.2155, allocations: 12 kB / 0.7055 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001214/0.2156, allocations: 152.9 kB / 0.7057 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.41e-07/0.2156, allocations: 0 / 0.7057 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006287/0.2162, allocations: 144 kB / 0.7058 GB, free: 9.234 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00136/0.2176, allocations: 1.311 MB / 0.7071 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001534/0.2192, allocations: 0.8745 MB / 0.7079 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2192, allocations: 0 / 0.7079 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004547/0.2196, allocations: 269.5 kB / 0.7082 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005641/0.2202, allocations: 49.3 kB / 0.7082 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005068/0.2253, allocations: 3.949 MB / 0.7121 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/0.2256, allocations: 0.7838 MB / 0.7129 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000517/0.2262, allocations: 174.8 kB / 0.713 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001989/0.2264, allocations: 79.41 kB / 0.7131 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of SimCode: time 1.153e-06/0.2264, allocations: 0 / 0.7131 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01825/0.2446, allocations: 6.756 MB / 0.7197 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001871/0.2449, allocations: 237.5 kB / 0.7199 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.752/1.997, allocations: 5.172 kB / 0.7199 GB, free: 10.69 MB / 0.5137 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1)