Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009747/0.0009747, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001025/0.001025, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.74/1.74, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.727/1.727, allocations: 292.6 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005014/0.0005018, allocations: 21.44 kB / 0.6737 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2463, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.00347/0.2499, allocations: 2.853 MB / 0.79 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002824/0.2527, allocations: 2.009 MB / 0.792 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.2529, allocations: 3.938 kB / 0.792 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001611/0.253, allocations: 35.77 kB / 0.792 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000458/0.2535, allocations: 163.5 kB / 0.7922 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006476/0.2542, allocations: 207.4 kB / 0.7924 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004168/0.2546, allocations: 223.5 kB / 0.7926 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005154/0.2551, allocations: 337.2 kB / 0.7929 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001653/0.2553, allocations: 107.6 kB / 0.793 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002388/0.2555, allocations: 119.6 kB / 0.7931 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.025e-05/0.2556, allocations: 12 kB / 0.7931 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004165/0.256, allocations: 255.6 kB / 0.7934 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.089e-05/0.2561, allocations: 75.8 kB / 0.7935 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.627e-05/0.2562, allocations: 73.58 kB / 0.7935 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003895/0.2565, allocations: 375.1 kB / 0.7939 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.2566, allocations: 3.938 kB / 0.7939 GB, free: 5 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2566, allocations: 0 / 0.7939 GB, free: 5 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.2566, allocations: 0 / 0.7939 GB, free: 5 MB / 0.6075 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.000811/0.2574, allocations: 0.5572 MB / 0.7944 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.2574, allocations: 12.03 kB / 0.7945 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.002e-05/0.2575, allocations: 66.53 kB / 0.7945 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000932/0.2585, allocations: 135.4 kB / 0.7946 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003514/0.2588, allocations: 266.6 kB / 0.7949 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/0.2589, allocations: 12.44 kB / 0.7949 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.771e-05/0.2589, allocations: 27.94 kB / 0.7949 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006305/0.2595, allocations: 415.5 kB / 0.7953 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.2596, allocations: 0 / 0.7953 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.05e-05/0.2596, allocations: 12 kB / 0.7953 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.517e-05/0.2597, allocations: 36.53 kB / 0.7954 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006078/0.2603, allocations: 357.9 kB / 0.7957 GB, free: 3 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002513/0.2628, allocations: 2.054 MB / 0.7977 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007773/0.2636, allocations: 368 kB / 0.7981 GB, free: 392 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001072/0.2637, allocations: 81.3 kB / 0.7982 GB, free: 292 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.2638, allocations: 42.69 kB / 0.7982 GB, free: 240 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=22): time 1.413e-06/0.2638, allocations: 0 / 0.7982 GB, free: 240 kB / 0.6075 GB Notification: Performance of matching and sorting (n=34): time 0.004974/0.2687, allocations: 1.768 MB / 0.7999 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/0.2688, allocations: 85.11 kB / 0.8 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.2691, allocations: 240.9 kB / 0.8002 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.245e-05/0.2691, allocations: 29.7 kB / 0.8003 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.2692, allocations: 187.9 kB / 0.8004 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.394e-05/0.2693, allocations: 114.3 kB / 0.8005 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.238e-05/0.2694, allocations: 12 kB / 0.8006 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.2695, allocations: 330.8 kB / 0.8009 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003722/0.2699, allocations: 208.7 kB / 0.8011 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000417/0.2703, allocations: 308.2 kB / 0.8014 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004379/0.2707, allocations: 255.4 kB / 0.8016 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2708, allocations: 0 / 0.8016 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001214/0.272, allocations: 0.6759 MB / 0.8023 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004571/0.2724, allocations: 1.145 MB / 0.8034 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/0.2725, allocations: 7.938 kB / 0.8034 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004974/0.273, allocations: 143.3 kB / 0.8035 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004093/0.2734, allocations: 99.88 kB / 0.8036 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00284/0.2762, allocations: 3.969 MB / 0.8075 GB, free: 6.137 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003203/0.2766, allocations: 39.95 kB / 0.8075 GB, free: 6.098 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.885e-05/0.2766, allocations: 16 kB / 0.8076 GB, free: 6.082 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.917e-06/0.2766, allocations: 4 kB / 0.8076 GB, free: 6.078 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001185/0.2778, allocations: 0.6393 MB / 0.8082 GB, free: 5.426 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.2778, allocations: 4 kB / 0.8082 GB, free: 5.422 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003672/0.2782, allocations: 143.5 kB / 0.8083 GB, free: 5.27 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004165/0.2786, allocations: 99.81 kB / 0.8084 GB, free: 5.172 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006054/0.2793, allocations: 1.113 MB / 0.8095 GB, free: 4.008 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002995/0.2796, allocations: 36 kB / 0.8095 GB, free: 3.973 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-05/0.2796, allocations: 16 kB / 0.8096 GB, free: 3.957 MB / 0.6231 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.0002573/0.2799, allocations: 245 kB / 0.8098 GB, free: 3.707 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.757e-05/0.28, allocations: 39.75 kB / 0.8098 GB, free: 3.668 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001263/0.2812, allocations: 0.6326 MB / 0.8104 GB, free: 3.02 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.2813, allocations: 4 kB / 0.8105 GB, free: 3.016 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.2813, allocations: 7.984 kB / 0.8105 GB, free: 3.008 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.2813, allocations: 7.953 kB / 0.8105 GB, free: 3 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002008/0.2833, allocations: 1.237 MB / 0.8117 GB, free: 1.672 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.2833, allocations: 0 / 0.8117 GB, free: 1.672 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002806/0.2836, allocations: 71.89 kB / 0.8117 GB, free: 1.602 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004399/0.284, allocations: 155.5 kB / 0.8119 GB, free: 1.438 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.603e-05/0.2841, allocations: 8 kB / 0.8119 GB, free: 1.43 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002685/0.2868, allocations: 3.993 MB / 0.8158 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.2868, allocations: 11.92 kB / 0.8158 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001184/0.288, allocations: 0.8806 MB / 0.8167 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001817/0.2882, allocations: 148.7 kB / 0.8168 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.085e-05/0.2882, allocations: 8 kB / 0.8168 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003069/0.2885, allocations: 35.95 kB / 0.8169 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.571e-05/0.2886, allocations: 31.92 kB / 0.8169 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.373e-05/0.2887, allocations: 16 kB / 0.8169 GB, free: 11.87 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001594/0.2888, allocations: 164.5 kB / 0.8171 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2888, allocations: 4 kB / 0.8171 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000778/0.2896, allocations: 164 kB / 0.8172 GB, free: 11.54 MB / 0.6387 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.001914/0.2915, allocations: 2.007 MB / 0.8192 GB, free: 9.441 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00199/0.2936, allocations: 1.224 MB / 0.8204 GB, free: 8.148 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.2936, allocations: 4 kB / 0.8204 GB, free: 8.145 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006927/0.2943, allocations: 498 kB / 0.8209 GB, free: 7.633 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004448/0.2947, allocations: 64.34 kB / 0.8209 GB, free: 7.57 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004019/0.2988, allocations: 4.076 MB / 0.8249 GB, free: 3.363 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.2991, allocations: 0.8201 MB / 0.8257 GB, free: 2.52 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003354/0.2995, allocations: 118.9 kB / 0.8258 GB, free: 2.402 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.2996, allocations: 91.34 kB / 0.8259 GB, free: 2.312 MB / 0.6387 GB Notification: Performance of SimCode: time 4.21e-07/0.2996, allocations: 0 / 0.8259 GB, free: 2.312 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02194/0.3216, allocations: 8.212 MB / 0.8339 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002016/0.3218, allocations: 229.4 kB / 0.8341 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.085/2.407, allocations: 7.875 kB / 0.8341 GB, free: 10.09 MB / 0.6544 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1) Environment - environmentSimulation: