Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.618/1.618, allocations: 251.9 MB / 266.9 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001292/0.001292, allocations: 193.2 kB / 326.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.827/1.827, allocations: 205.4 MB / 0.5775 GB, free: 20.33 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009171/0.0009175, allocations: 99.78 kB / 0.6821 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000328/0.000328, allocations: 10.48 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.203, allocations: 106.3 MB / 0.9002 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.002928/0.206, allocations: 2.857 MB / 0.9029 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002509/0.2085, allocations: 2.017 MB / 0.9049 GB, free: 59 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.2086, allocations: 0 / 0.9049 GB, free: 59 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001406/0.2088, allocations: 47.62 kB / 0.905 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003817/0.2092, allocations: 151.5 kB / 0.9051 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004644/0.2096, allocations: 221.3 kB / 0.9053 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002393/0.2099, allocations: 227.5 kB / 0.9055 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003963/0.2103, allocations: 313.4 kB / 0.9058 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.2104, allocations: 111.6 kB / 0.9059 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000228/0.2107, allocations: 119.5 kB / 0.906 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.609e-05/0.2107, allocations: 12 kB / 0.9061 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003038/0.211, allocations: 255.6 kB / 0.9063 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.087e-05/0.2111, allocations: 79.8 kB / 0.9064 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.418e-05/0.2111, allocations: 73.52 kB / 0.9064 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003411/0.2115, allocations: 371.3 kB / 0.9068 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.2115, allocations: 4 kB / 0.9068 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2115, allocations: 3.984 kB / 0.9068 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.2115, allocations: 0 / 0.9068 GB, free: 57.02 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0006826/0.2122, allocations: 0.5573 MB / 0.9074 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.2122, allocations: 12.03 kB / 0.9074 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.092e-05/0.2123, allocations: 62.53 kB / 0.9074 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007809/0.2131, allocations: 143.4 kB / 0.9076 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.2134, allocations: 266.5 kB / 0.9078 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.2134, allocations: 20.42 kB / 0.9078 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.472e-05/0.2134, allocations: 20 kB / 0.9079 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005125/0.214, allocations: 415.5 kB / 0.9083 GB, free: 55.4 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.214, allocations: 3.984 kB / 0.9083 GB, free: 55.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.87e-05/0.214, allocations: 11.98 kB / 0.9083 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.513e-05/0.2141, allocations: 40.48 kB / 0.9083 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005063/0.2146, allocations: 357.9 kB / 0.9086 GB, free: 55 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001797/0.2164, allocations: 2.058 MB / 0.9107 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006517/0.217, allocations: 357.6 kB / 0.911 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.006e-05/0.2171, allocations: 89.28 kB / 0.9111 GB, free: 52.28 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.483e-05/0.2172, allocations: 30.75 kB / 0.9111 GB, free: 52.24 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=22): time 1.392e-06/0.2172, allocations: 0 / 0.9111 GB, free: 52.24 MB / 0.6042 GB Notification: Performance of matching and sorting (n=34): time 0.004488/0.2217, allocations: 1.781 MB / 0.9129 GB, free: 50.43 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.2217, allocations: 85.06 kB / 0.9129 GB, free: 50.33 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.2219, allocations: 228.9 kB / 0.9132 GB, free: 50.09 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.2219, allocations: 29.7 kB / 0.9132 GB, free: 50.06 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.216e-05/0.222, allocations: 184.1 kB / 0.9134 GB, free: 49.88 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.135e-05/0.2221, allocations: 118.3 kB / 0.9135 GB, free: 49.76 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.991e-05/0.2221, allocations: 12 kB / 0.9135 GB, free: 49.75 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.837e-05/0.2222, allocations: 338.8 kB / 0.9138 GB, free: 49.41 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003273/0.2225, allocations: 204.8 kB / 0.914 GB, free: 49.21 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003912/0.2229, allocations: 312.2 kB / 0.9143 GB, free: 48.86 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000369/0.2233, allocations: 247.9 kB / 0.9145 GB, free: 48.62 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2233, allocations: 0 / 0.9145 GB, free: 48.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001055/0.2243, allocations: 0.691 MB / 0.9152 GB, free: 47.91 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001962/0.2245, allocations: 1.138 MB / 0.9163 GB, free: 46.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.2246, allocations: 0 / 0.9163 GB, free: 46.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004332/0.225, allocations: 139.3 kB / 0.9165 GB, free: 46.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003773/0.2254, allocations: 111.8 kB / 0.9166 GB, free: 46.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002134/0.2275, allocations: 3.966 MB / 0.9204 GB, free: 42.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002929/0.2278, allocations: 48.02 kB / 0.9205 GB, free: 42.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.984e-05/0.2279, allocations: 16 kB / 0.9205 GB, free: 42.08 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.905e-06/0.2279, allocations: 7.938 kB / 0.9205 GB, free: 42.07 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001046/0.2289, allocations: 0.6312 MB / 0.9211 GB, free: 41.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.229, allocations: 4 kB / 0.9211 GB, free: 41.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000321/0.2293, allocations: 139.3 kB / 0.9213 GB, free: 41.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003628/0.2297, allocations: 112 kB / 0.9214 GB, free: 41.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004372/0.2301, allocations: 1.101 MB / 0.9224 GB, free: 40.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002603/0.2304, allocations: 40.14 kB / 0.9225 GB, free: 39.97 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.614e-05/0.2304, allocations: 16 kB / 0.9225 GB, free: 39.96 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (45): * Single equations (assignments): 41 * 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: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002285/0.2307, allocations: 249 kB / 0.9227 GB, free: 39.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.548e-05/0.2307, allocations: 35.58 kB / 0.9228 GB, free: 39.67 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001198/0.2319, allocations: 0.6245 MB / 0.9234 GB, free: 39.02 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.232, allocations: 4 kB / 0.9234 GB, free: 39.02 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.232, allocations: 11.89 kB / 0.9234 GB, free: 39.01 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.232, allocations: 0 / 0.9234 GB, free: 39.01 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001901/0.2339, allocations: 1.241 MB / 0.9246 GB, free: 37.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/0.2339, allocations: 0 / 0.9246 GB, free: 37.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002594/0.2342, allocations: 67.89 kB / 0.9247 GB, free: 37.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003889/0.2346, allocations: 159.5 kB / 0.9248 GB, free: 37.44 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.01e-05/0.2346, allocations: 15.94 kB / 0.9248 GB, free: 37.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002148/0.2368, allocations: 3.981 MB / 0.9287 GB, free: 33.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.2368, allocations: 0 / 0.9287 GB, free: 33.13 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/0.2379, allocations: 0.8848 MB / 0.9296 GB, free: 32.14 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000151/0.2381, allocations: 144.7 kB / 0.9297 GB, free: 31.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.047e-05/0.2381, allocations: 15.98 kB / 0.9297 GB, free: 31.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002825/0.2384, allocations: 35.97 kB / 0.9298 GB, free: 31.93 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.855e-05/0.2385, allocations: 47.86 kB / 0.9298 GB, free: 31.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-05/0.2386, allocations: 12 kB / 0.9298 GB, free: 31.88 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001651/0.2387, allocations: 176.5 kB / 0.93 GB, free: 31.7 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2387, allocations: 0 / 0.93 GB, free: 31.7 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007647/0.2395, allocations: 152 kB / 0.9301 GB, free: 31.55 MB / 0.6042 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 (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: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001378/0.2409, allocations: 2.022 MB / 0.9321 GB, free: 29.43 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001639/0.2425, allocations: 1.228 MB / 0.9333 GB, free: 28.14 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.2426, allocations: 4 kB / 0.9333 GB, free: 28.13 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006204/0.2432, allocations: 0.4902 MB / 0.9338 GB, free: 27.62 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003737/0.2436, allocations: 48.39 kB / 0.9338 GB, free: 27.57 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003067/0.2467, allocations: 4.079 MB / 0.9378 GB, free: 23.36 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002111/0.2469, allocations: 0.8123 MB / 0.9386 GB, free: 22.52 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003168/0.2472, allocations: 122.8 kB / 0.9387 GB, free: 22.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.2473, allocations: 87.41 kB / 0.9388 GB, free: 22.32 MB / 0.6042 GB Notification: Performance of SimCode: time 7.51e-07/0.2473, allocations: 0 / 0.9388 GB, free: 22.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01976/0.2671, allocations: 8.223 MB / 0.9468 GB, free: 14.34 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001501/0.2673, allocations: 242.2 kB / 0.9471 GB, free: 14.09 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.948/2.215, allocations: 3.938 kB / 0.9471 GB, free: 14.09 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1)