Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.674/1.674, allocations: 288.2 MB / 303.2 MB, free: 8.109 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001954/0.001954, allocations: 187.7 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.571/1.571, allocations: 205.4 MB / 0.6305 GB, free: 9.938 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008511/0.0008512, allocations: 93.56 kB / 0.7439 GB, free: 5.879 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003678/0.0003678, allocations: 15.5 kB / 0.8669 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1931/0.1935, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.002555/0.1961, allocations: 2.319 MB / 0.9818 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002019/0.1982, allocations: 1.865 MB / 0.9836 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.1983, allocations: 4 kB / 0.9836 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001223/0.1985, allocations: 35.77 kB / 0.9836 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003194/0.1988, allocations: 119.6 kB / 0.9837 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004237/0.1992, allocations: 211.4 kB / 0.9839 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001831/0.1994, allocations: 171.7 kB / 0.9841 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004513/0.1999, allocations: 346.7 kB / 0.9844 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.2, allocations: 87.69 kB / 0.9845 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001814/0.2002, allocations: 103.6 kB / 0.9846 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.478e-05/0.2002, allocations: 12 kB / 0.9846 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003036/0.2005, allocations: 243.6 kB / 0.9848 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.483e-05/0.2006, allocations: 83.78 kB / 0.9849 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.212e-05/0.2006, allocations: 57.58 kB / 0.985 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003066/0.201, allocations: 343.1 kB / 0.9853 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.201, allocations: 4 kB / 0.9853 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.192e-06/0.201, allocations: 3.938 kB / 0.9853 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.201, allocations: 0 / 0.9853 GB, free: 21.57 MB / 0.6198 GB 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.0006635/0.2017, allocations: 0.5146 MB / 0.9858 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.2017, allocations: 8.031 kB / 0.9858 GB, free: 21 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.956e-05/0.2018, allocations: 58.53 kB / 0.9859 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007302/0.2025, allocations: 123.5 kB / 0.986 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002536/0.2028, allocations: 248.9 kB / 0.9862 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.2028, allocations: 20.44 kB / 0.9863 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.908e-05/0.2028, allocations: 19.98 kB / 0.9863 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005139/0.2033, allocations: 389.9 kB / 0.9866 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.2034, allocations: 0 / 0.9866 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.739e-05/0.2034, allocations: 11.94 kB / 0.9867 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-05/0.2034, allocations: 23.98 kB / 0.9867 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005498/0.204, allocations: 379.4 kB / 0.987 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001495/0.2055, allocations: 1.726 MB / 0.9887 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005463/0.2061, allocations: 348.9 kB / 0.9891 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001118/0.2062, allocations: 97.08 kB / 0.9892 GB, free: 17.33 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.585e-05/0.2062, allocations: 30.56 kB / 0.9892 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=25): time 1.333e-06/0.2062, allocations: 4 kB / 0.9892 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=35): time 0.006842/0.2131, allocations: 2.065 MB / 0.9912 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.2131, allocations: 85.09 kB / 0.9913 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.2133, allocations: 187.6 kB / 0.9915 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.361e-05/0.2133, allocations: 29.7 kB / 0.9915 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.577e-05/0.2134, allocations: 152.4 kB / 0.9916 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.928e-05/0.2134, allocations: 114.3 kB / 0.9917 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.586e-05/0.2135, allocations: 4 kB / 0.9918 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.801e-05/0.2135, allocations: 334.8 kB / 0.9921 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000403/0.2139, allocations: 263.8 kB / 0.9923 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004634/0.2144, allocations: 333.5 kB / 0.9926 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004432/0.2149, allocations: 305.2 kB / 0.9929 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2149, allocations: 0 / 0.9929 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001003/0.2159, allocations: 0.65 MB / 0.9936 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.000136/0.216, allocations: 0.8808 MB / 0.9944 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.216, allocations: 0 / 0.9944 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.2161, allocations: 4 kB / 0.9944 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008486/0.2169, allocations: 159.7 kB / 0.9946 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.2169, allocations: 4 kB / 0.9946 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003932/0.2173, allocations: 59.92 kB / 0.9946 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.559e-05/0.2174, allocations: 12 kB / 0.9947 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.773e-06/0.2174, allocations: 4 kB / 0.9947 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009529/0.2184, allocations: 0.5934 MB / 0.9952 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.2184, allocations: 3.984 kB / 0.9952 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.95e-06/0.2184, allocations: 7.938 kB / 0.9953 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007665/0.2192, allocations: 148.1 kB / 0.9954 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.2192, allocations: 7.953 kB / 0.9954 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003588/0.2195, allocations: 55.94 kB / 0.9955 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.201e-05/0.2196, allocations: 15.98 kB / 0.9955 GB, free: 10.69 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001571/0.2197, allocations: 252.8 kB / 0.9957 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.247e-05/0.2198, allocations: 27.72 kB / 0.9957 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001171/0.221, allocations: 0.6686 MB / 0.9964 GB, free: 9.73 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.221, allocations: 4 kB / 0.9964 GB, free: 9.727 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.221, allocations: 11.95 kB / 0.9964 GB, free: 9.715 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.221, allocations: 4 kB / 0.9964 GB, free: 9.711 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001879/0.2229, allocations: 1.399 MB / 0.9978 GB, free: 8.215 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.2229, allocations: 0 / 0.9978 GB, free: 8.215 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005535/0.2235, allocations: 119.8 kB / 0.9979 GB, free: 8.098 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.2235, allocations: 4 kB / 0.9979 GB, free: 8.094 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.791e-05/0.2236, allocations: 15.98 kB / 0.9979 GB, free: 8.078 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.217e-06/0.2236, allocations: 4 kB / 0.9979 GB, free: 8.074 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.2236, allocations: 4.156 kB / 0.9979 GB, free: 8.07 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008398/0.2244, allocations: 0.8294 MB / 0.9987 GB, free: 7.152 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/0.2246, allocations: 140.8 kB / 0.9989 GB, free: 6.996 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.614e-05/0.2246, allocations: 16 kB / 0.9989 GB, free: 6.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000322/0.225, allocations: 43.94 kB / 0.9989 GB, free: 6.938 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.471e-05/0.225, allocations: 31.86 kB / 0.9989 GB, free: 6.906 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/0.2251, allocations: 12 kB / 0.999 GB, free: 6.895 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.681e-05/0.2251, allocations: 147.1 kB / 0.9991 GB, free: 6.75 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2252, allocations: 4 kB / 0.9991 GB, free: 6.746 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005688/0.2257, allocations: 140 kB / 0.9992 GB, free: 6.609 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001146/0.2269, allocations: 1.94 MB / 1.001 GB, free: 4.59 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001301/0.2282, allocations: 0.8634 MB / 1.002 GB, free: 3.727 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2282, allocations: 0 / 1.002 GB, free: 3.727 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000387/0.2286, allocations: 272.3 kB / 1.002 GB, free: 3.461 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.229, allocations: 36.8 kB / 1.002 GB, free: 3.426 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003077/0.232, allocations: 3.606 MB / 1.006 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/0.2324, allocations: 0.7848 MB / 1.007 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005385/0.2329, allocations: 178.8 kB / 1.007 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001949/0.2331, allocations: 83.41 kB / 1.007 GB, free: 14.63 MB / 0.6355 GB Notification: Performance of SimCode: time 4.51e-07/0.2331, allocations: 0 / 1.007 GB, free: 14.63 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01769/0.2508, allocations: 6.723 MB / 1.013 GB, free: 8.098 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002599/0.2511, allocations: 213.7 kB / 1.014 GB, free: 7.859 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.923/2.174, allocations: 0 / 1.014 GB, free: 7.859 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1)