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.ACACConverter.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.ACACConverter,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.359/1.359, allocations: 252 MB / 267 MB, free: 10.96 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.0009607/0.0009606, allocations: 183.8 kB / 326.6 MB, free: 2.207 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.7/1.7, allocations: 205.4 MB / 0.5777 GB, free: 20.54 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.0007699/0.0007696, allocations: 97.62 kB / 0.6823 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003307/0.0003308, allocations: 6.75 kB / 0.7965 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.2283, allocations: 106.3 MB / 0.9003 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.002611/0.231, allocations: 2.357 MB / 0.9026 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002291/0.2333, allocations: 1.904 MB / 0.9045 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.2335, allocations: 4 kB / 0.9045 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001651/0.2337, allocations: 35.7 kB / 0.9045 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003884/0.2341, allocations: 135.4 kB / 0.9046 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000479/0.2346, allocations: 210 kB / 0.9049 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002712/0.2348, allocations: 367 kB / 0.9052 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004966/0.2353, allocations: 350.5 kB / 0.9055 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/0.2355, allocations: 99.61 kB / 0.9056 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002291/0.2357, allocations: 147.5 kB / 0.9058 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.467e-05/0.2358, allocations: 12 kB / 0.9058 GB, free: 58.51 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003737/0.2362, allocations: 247.6 kB / 0.906 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.6e-05/0.2362, allocations: 87.75 kB / 0.9061 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.027e-05/0.2363, allocations: 69.58 kB / 0.9062 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003436/0.2367, allocations: 335.5 kB / 0.9065 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2367, allocations: 0 / 0.9065 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.294e-06/0.2367, allocations: 0 / 0.9065 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.114e-06/0.2367, allocations: 0 / 0.9065 GB, free: 57.78 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.000765/0.2375, allocations: 0.5106 MB / 0.907 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.2375, allocations: 12.03 kB / 0.907 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.086e-05/0.2376, allocations: 70.42 kB / 0.9071 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006677/0.2382, allocations: 107.6 kB / 0.9072 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.2385, allocations: 252.5 kB / 0.9074 GB, free: 56.74 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.2385, allocations: 12.44 kB / 0.9074 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.491e-05/0.2386, allocations: 27.89 kB / 0.9074 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005446/0.2391, allocations: 385.9 kB / 0.9078 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.2391, allocations: 0 / 0.9078 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.792e-05/0.2392, allocations: 12 kB / 0.9078 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.563e-05/0.2392, allocations: 23.94 kB / 0.9078 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005601/0.2398, allocations: 379.4 kB / 0.9082 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001569/0.2414, allocations: 1.726 MB / 0.9099 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005905/0.242, allocations: 359.9 kB / 0.9102 GB, free: 53.65 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002855/0.2423, allocations: 185.6 kB / 0.9104 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001473/0.2424, allocations: 85.11 kB / 0.9105 GB, free: 53.36 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.2425, allocations: 46.55 kB / 0.9105 GB, free: 53.31 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=25): time 1.723e-06/0.2425, allocations: 0 / 0.9105 GB, free: 53.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=35): time 0.007185/0.2497, allocations: 2.053 MB / 0.9125 GB, free: 51.25 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/0.2498, allocations: 85.11 kB / 0.9126 GB, free: 51.14 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.2499, allocations: 187.4 kB / 0.9128 GB, free: 50.95 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.44e-05/0.25, allocations: 37.69 kB / 0.9128 GB, free: 50.91 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.528e-05/0.25, allocations: 144.4 kB / 0.913 GB, free: 50.76 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.639e-05/0.2501, allocations: 122.2 kB / 0.9131 GB, free: 50.64 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.596e-05/0.2502, allocations: 4 kB / 0.9131 GB, free: 50.64 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.877e-05/0.2503, allocations: 334.8 kB / 0.9134 GB, free: 50.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004128/0.2507, allocations: 255.8 kB / 0.9137 GB, free: 50.05 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004339/0.2511, allocations: 337.5 kB / 0.914 GB, free: 49.69 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004605/0.2516, allocations: 297.3 kB / 0.9143 GB, free: 49.4 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.2516, allocations: 0 / 0.9143 GB, free: 49.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001073/0.2527, allocations: 0.6577 MB / 0.9149 GB, free: 48.73 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.398e-05/0.2528, allocations: 160.8 kB / 0.9151 GB, free: 48.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.689e-06/0.2528, allocations: 0 / 0.9151 GB, free: 48.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.2528, allocations: 11.89 kB / 0.9151 GB, free: 48.53 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000862/0.2537, allocations: 155.8 kB / 0.9152 GB, free: 48.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.689e-06/0.2537, allocations: 7.984 kB / 0.9152 GB, free: 48.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003949/0.2541, allocations: 51.94 kB / 0.9153 GB, free: 48.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.683e-05/0.2541, allocations: 19.98 kB / 0.9153 GB, free: 48.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.371e-06/0.2542, allocations: 4 kB / 0.9153 GB, free: 48.3 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009461/0.2551, allocations: 0.5894 MB / 0.9159 GB, free: 47.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.2551, allocations: 0 / 0.9159 GB, free: 47.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.35e-06/0.2551, allocations: 8 kB / 0.9159 GB, free: 47.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007846/0.2559, allocations: 147.8 kB / 0.916 GB, free: 47.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.2559, allocations: 7.984 kB / 0.916 GB, free: 47.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003664/0.2563, allocations: 60.03 kB / 0.9161 GB, free: 47.49 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.486e-05/0.2564, allocations: 12 kB / 0.9161 GB, free: 47.48 MB / 0.6042 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.0001786/0.2566, allocations: 244.9 kB / 0.9163 GB, free: 47.23 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.322e-05/0.2566, allocations: 23.72 kB / 0.9164 GB, free: 47.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001147/0.2578, allocations: 0.6885 MB / 0.917 GB, free: 46.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.2578, allocations: 4 kB / 0.917 GB, free: 46.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.2578, allocations: 0 / 0.917 GB, free: 46.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.2578, allocations: 3.984 kB / 0.917 GB, free: 46.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001768/0.2596, allocations: 1.383 MB / 0.9184 GB, free: 45.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.2596, allocations: 0 / 0.9184 GB, free: 45.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005486/0.2602, allocations: 124.1 kB / 0.9185 GB, free: 44.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.311e-06/0.2602, allocations: 8 kB / 0.9185 GB, free: 44.89 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.625e-05/0.2602, allocations: 8 kB / 0.9185 GB, free: 44.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.2602, allocations: 4 kB / 0.9185 GB, free: 44.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.2602, allocations: 7.953 kB / 0.9185 GB, free: 44.87 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008409/0.2611, allocations: 0.7309 MB / 0.9193 GB, free: 44.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.2612, allocations: 140.8 kB / 0.9194 GB, free: 43.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.644e-05/0.2613, allocations: 11.98 kB / 0.9194 GB, free: 43.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003193/0.2616, allocations: 43.95 kB / 0.9194 GB, free: 43.89 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.32e-05/0.2617, allocations: 35.86 kB / 0.9195 GB, free: 43.85 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-05/0.2617, allocations: 15.98 kB / 0.9195 GB, free: 43.84 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.649e-05/0.2618, allocations: 147 kB / 0.9196 GB, free: 43.69 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2618, allocations: 4 kB / 0.9196 GB, free: 43.69 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005737/0.2624, allocations: 140 kB / 0.9198 GB, free: 43.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 (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.001121/0.2635, allocations: 1.318 MB / 0.9211 GB, free: 42.18 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001386/0.2649, allocations: 0.8673 MB / 0.9219 GB, free: 41.31 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.2649, allocations: 4 kB / 0.9219 GB, free: 41.31 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003917/0.2653, allocations: 264.3 kB / 0.9222 GB, free: 41.05 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004911/0.2658, allocations: 44.11 kB / 0.9222 GB, free: 41.01 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00305/0.2689, allocations: 2.246 MB / 0.9244 GB, free: 38.66 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/0.2692, allocations: 0.7838 MB / 0.9252 GB, free: 37.85 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0005065/0.2697, allocations: 170.8 kB / 0.9253 GB, free: 37.68 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001781/0.2699, allocations: 79.41 kB / 0.9254 GB, free: 37.6 MB / 0.6042 GB Notification: Performance of SimCode: time 6.41e-07/0.2699, allocations: 0 / 0.9254 GB, free: 37.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01927/0.2891, allocations: 6.749 MB / 0.932 GB, free: 31.05 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002286/0.2894, allocations: 211.8 kB / 0.9322 GB, free: 30.81 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.006/2.295, allocations: 0 / 0.9322 GB, free: 30.81 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1)