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.644/1.644, allocations: 252 MB / 267 MB, free: 10.97 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.00101/0.00101, allocations: 186.2 kB / 326.6 MB, free: 2.211 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.651/1.651, allocations: 205.4 MB / 0.5776 GB, free: 20.25 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.0007333/0.0007336, allocations: 90.23 kB / 0.6822 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003315/0.0003316, allocations: 11.25 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2069, allocations: 106.4 MB / 0.9003 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.002959/0.2099, allocations: 2.907 MB / 0.9032 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002493/0.2125, allocations: 2.044 MB / 0.9052 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001441/0.2126, allocations: 4 kB / 0.9052 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001836/0.2128, allocations: 43.64 kB / 0.9052 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004674/0.2133, allocations: 171.2 kB / 0.9054 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006425/0.214, allocations: 213.9 kB / 0.9056 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004181/0.2144, allocations: 454.5 kB / 0.906 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005241/0.2149, allocations: 321.4 kB / 0.9063 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002018/0.2151, allocations: 127.5 kB / 0.9064 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003099/0.2154, allocations: 163.4 kB / 0.9066 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.254e-05/0.2155, allocations: 12 kB / 0.9066 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00043/0.2159, allocations: 267.6 kB / 0.9069 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.579e-05/0.216, allocations: 83.77 kB / 0.9069 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.56e-05/0.2161, allocations: 73.58 kB / 0.907 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003916/0.2165, allocations: 379.3 kB / 0.9074 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.2165, allocations: 0 / 0.9074 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.843e-06/0.2165, allocations: 4 kB / 0.9074 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.2165, allocations: 0 / 0.9074 GB, free: 56.52 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.0008512/0.2174, allocations: 0.5573 MB / 0.9079 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.2174, allocations: 12.03 kB / 0.9079 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.599e-05/0.2175, allocations: 62.52 kB / 0.908 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007924/0.2183, allocations: 131.4 kB / 0.9081 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002939/0.2186, allocations: 274.5 kB / 0.9084 GB, free: 55.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.2186, allocations: 16.44 kB / 0.9084 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.64e-05/0.2187, allocations: 20 kB / 0.9084 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006141/0.2193, allocations: 419.5 kB / 0.9088 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.2193, allocations: 3.938 kB / 0.9088 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.162e-05/0.2194, allocations: 8 kB / 0.9088 GB, free: 54.9 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.748e-05/0.2194, allocations: 40.48 kB / 0.9089 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005332/0.22, allocations: 353.9 kB / 0.9092 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001921/0.2219, allocations: 2.05 MB / 0.9112 GB, free: 52.28 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006919/0.2226, allocations: 365.6 kB / 0.9115 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000372/0.223, allocations: 190 kB / 0.9117 GB, free: 51.71 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.631e-05/0.2231, allocations: 89.28 kB / 0.9118 GB, free: 51.61 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.762e-05/0.2231, allocations: 42.69 kB / 0.9118 GB, free: 51.56 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=22): time 1.813e-06/0.2231, allocations: 0 / 0.9118 GB, free: 51.56 MB / 0.6042 GB Notification: Performance of matching and sorting (n=34): time 0.004734/0.2279, allocations: 1.766 MB / 0.9136 GB, free: 49.76 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/0.2279, allocations: 81.11 kB / 0.9137 GB, free: 49.66 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.2281, allocations: 229 kB / 0.9139 GB, free: 49.43 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.2281, allocations: 29.7 kB / 0.9139 GB, free: 49.39 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.907e-05/0.2282, allocations: 184 kB / 0.9141 GB, free: 49.21 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.742e-05/0.2283, allocations: 114.3 kB / 0.9142 GB, free: 49.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.942e-05/0.2283, allocations: 16 kB / 0.9142 GB, free: 49.08 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.566e-05/0.2284, allocations: 334.8 kB / 0.9145 GB, free: 48.75 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003356/0.2287, allocations: 200.7 kB / 0.9147 GB, free: 48.55 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003682/0.2291, allocations: 317 kB / 0.915 GB, free: 48.2 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003738/0.2295, allocations: 239.8 kB / 0.9152 GB, free: 47.96 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2295, allocations: 4 kB / 0.9152 GB, free: 47.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001075/0.2306, allocations: 0.6719 MB / 0.9159 GB, free: 47.27 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.392e-05/0.2307, allocations: 180.3 kB / 0.9161 GB, free: 47.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.2307, allocations: 4 kB / 0.9161 GB, free: 47.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004645/0.2311, allocations: 147.3 kB / 0.9162 GB, free: 46.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003857/0.2315, allocations: 95.88 kB / 0.9163 GB, free: 46.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001956/0.2335, allocations: 3.953 MB / 0.9202 GB, free: 42.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003406/0.2339, allocations: 44.06 kB / 0.9202 GB, free: 42.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.055e-05/0.2339, allocations: 16 kB / 0.9202 GB, free: 42.46 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.534e-06/0.2339, allocations: 4 kB / 0.9202 GB, free: 42.46 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00107/0.235, allocations: 0.6239 MB / 0.9208 GB, free: 41.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.235, allocations: 4 kB / 0.9208 GB, free: 41.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003241/0.2353, allocations: 139.3 kB / 0.921 GB, free: 41.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003586/0.2357, allocations: 100 kB / 0.9211 GB, free: 41.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003735/0.2361, allocations: 1.105 MB / 0.9221 GB, free: 40.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002899/0.2364, allocations: 40.16 kB / 0.9222 GB, free: 40.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.636e-05/0.2364, allocations: 19.94 kB / 0.9222 GB, free: 40.36 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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.00019/0.2366, allocations: 249 kB / 0.9224 GB, free: 40.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.196e-05/0.2367, allocations: 31.58 kB / 0.9225 GB, free: 40.07 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/0.2378, allocations: 0.6288 MB / 0.9231 GB, free: 39.42 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.2378, allocations: 4 kB / 0.9231 GB, free: 39.42 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.2378, allocations: 0 / 0.9231 GB, free: 39.42 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.2378, allocations: 3.953 kB / 0.9231 GB, free: 39.41 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001834/0.2397, allocations: 1.353 MB / 0.9244 GB, free: 37.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.2397, allocations: 0 / 0.9244 GB, free: 37.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002385/0.2399, allocations: 63.91 kB / 0.9245 GB, free: 37.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003763/0.2403, allocations: 159.5 kB / 0.9246 GB, free: 37.72 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.2403, allocations: 8 kB / 0.9246 GB, free: 37.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001911/0.2423, allocations: 3.958 MB / 0.9285 GB, free: 33.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.2423, allocations: 4.031 kB / 0.9285 GB, free: 33.43 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.2434, allocations: 0.7897 MB / 0.9293 GB, free: 32.59 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.2435, allocations: 144.7 kB / 0.9294 GB, free: 32.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.642e-05/0.2436, allocations: 8 kB / 0.9294 GB, free: 32.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002967/0.2439, allocations: 31.97 kB / 0.9295 GB, free: 32.39 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.622e-05/0.244, allocations: 47.84 kB / 0.9295 GB, free: 32.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/0.244, allocations: 8 kB / 0.9295 GB, free: 32.34 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001252/0.2441, allocations: 168.5 kB / 0.9297 GB, free: 32.17 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2441, allocations: 0 / 0.9297 GB, free: 32.17 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006998/0.2448, allocations: 160 kB / 0.9298 GB, free: 32.02 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * 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 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.00128/0.2461, allocations: 1.356 MB / 0.9311 GB, free: 30.59 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001747/0.2479, allocations: 1.22 MB / 0.9323 GB, free: 29.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.2479, allocations: 0 / 0.9323 GB, free: 29.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005932/0.2485, allocations: 494.1 kB / 0.9328 GB, free: 28.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005186/0.249, allocations: 64.23 kB / 0.9329 GB, free: 28.74 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00293/0.252, allocations: 2.26 MB / 0.9351 GB, free: 26.36 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.2522, allocations: 0.8045 MB / 0.9359 GB, free: 25.52 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003281/0.2526, allocations: 114.8 kB / 0.936 GB, free: 25.41 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.2527, allocations: 87.41 kB / 0.9361 GB, free: 25.32 MB / 0.6042 GB Notification: Performance of SimCode: time 1.172e-06/0.2527, allocations: 3.938 kB / 0.9361 GB, free: 25.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01949/0.2722, allocations: 8.274 MB / 0.9441 GB, free: 17.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001809/0.2724, allocations: 262.6 kB / 0.9444 GB, free: 16.95 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.056/2.329, allocations: 0 / 0.9444 GB, free: 16.95 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)