Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.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.ACACConverter,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009478/0.0009477, allocations: 99.7 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.001125/0.001125, 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.551/1.551, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.925/1.925, 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.0007279/0.000728, allocations: 15.28 kB / 0.6737 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2632, allocations: 116.3 MB / 0.7872 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.003146/0.2664, allocations: 2.327 MB / 0.7895 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002476/0.2689, allocations: 1.857 MB / 0.7913 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.894e-05/0.269, allocations: 3.938 kB / 0.7913 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001325/0.2691, allocations: 27.84 kB / 0.7914 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003746/0.2695, allocations: 127.6 kB / 0.7915 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004537/0.27, allocations: 203.3 kB / 0.7917 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002615/0.2702, allocations: 183.6 kB / 0.7919 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005726/0.2708, allocations: 342.8 kB / 0.7922 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.271, allocations: 87.73 kB / 0.7923 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002245/0.2712, allocations: 115.6 kB / 0.7924 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.535e-05/0.2712, allocations: 8 kB / 0.7924 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003869/0.2716, allocations: 243.6 kB / 0.7926 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.935e-05/0.2717, allocations: 71.81 kB / 0.7927 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.323e-05/0.2718, allocations: 65.62 kB / 0.7927 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004052/0.2722, allocations: 339 kB / 0.7931 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.2722, allocations: 0 / 0.7931 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2722, allocations: 0 / 0.7931 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.99e-06/0.2722, allocations: 4 kB / 0.7931 GB, free: 5.824 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0008261/0.2731, allocations: 0.5184 MB / 0.7936 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.2731, allocations: 8.031 kB / 0.7936 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.609e-05/0.2732, allocations: 54.55 kB / 0.7936 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007379/0.2739, allocations: 123.5 kB / 0.7938 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002941/0.2742, allocations: 249.7 kB / 0.794 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.2743, allocations: 16.44 kB / 0.794 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.318e-05/0.2743, allocations: 20 kB / 0.794 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006142/0.2749, allocations: 385.9 kB / 0.7944 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.275, allocations: 3.938 kB / 0.7944 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.165e-05/0.275, allocations: 15.98 kB / 0.7944 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-05/0.275, allocations: 23.77 kB / 0.7944 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006231/0.2757, allocations: 371.7 kB / 0.7948 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001984/0.2777, allocations: 1.738 MB / 0.7965 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006084/0.2783, allocations: 345 kB / 0.7968 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001359/0.2784, allocations: 89.09 kB / 0.7969 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.2785, allocations: 38.5 kB / 0.7969 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=25): time 1.653e-06/0.2785, allocations: 4 kB / 0.7969 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of matching and sorting (n=35): time 0.007059/0.2855, allocations: 2.067 MB / 0.799 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.658e-05/0.2856, allocations: 81.11 kB / 0.799 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.2858, allocations: 179.9 kB / 0.7992 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.104e-05/0.2858, allocations: 33.7 kB / 0.7992 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 7.954e-05/0.2859, allocations: 144.4 kB / 0.7994 GB, free: 15 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.671e-05/0.286, allocations: 118.3 kB / 0.7995 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.656e-05/0.2861, allocations: 8 kB / 0.7995 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.2862, allocations: 338.8 kB / 0.7998 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004462/0.2866, allocations: 255.8 kB / 0.8001 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005003/0.2871, allocations: 345.4 kB / 0.8004 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005059/0.2877, allocations: 297.3 kB / 0.8007 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2877, allocations: 0 / 0.8007 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001109/0.2888, allocations: 0.6581 MB / 0.8013 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003195/0.2891, allocations: 0.8737 MB / 0.8022 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.2891, allocations: 0 / 0.8022 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.2892, allocations: 7.984 kB / 0.8022 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000845/0.29, allocations: 155.8 kB / 0.8023 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.29, allocations: 7.984 kB / 0.8023 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003788/0.2904, allocations: 51.92 kB / 0.8024 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.754e-05/0.2905, allocations: 23.92 kB / 0.8024 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.384e-06/0.2905, allocations: 4 kB / 0.8024 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001046/0.2915, allocations: 0.5896 MB / 0.803 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.826e-06/0.2915, allocations: 0 / 0.803 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.703e-06/0.2916, allocations: 12.03 kB / 0.803 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007727/0.2923, allocations: 143.8 kB / 0.8031 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.2923, allocations: 15.89 kB / 0.8032 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003472/0.2927, allocations: 60.11 kB / 0.8032 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.192e-05/0.2927, allocations: 12 kB / 0.8032 GB, free: 10.94 MB / 0.6231 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.0001984/0.2929, allocations: 242.3 kB / 0.8035 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.124e-05/0.293, allocations: 23.72 kB / 0.8035 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001281/0.2943, allocations: 0.688 MB / 0.8042 GB, free: 9.977 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.2943, allocations: 4 kB / 0.8042 GB, free: 9.973 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.2943, allocations: 7.891 kB / 0.8042 GB, free: 9.965 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.2944, allocations: 3.984 kB / 0.8042 GB, free: 9.961 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002071/0.2964, allocations: 1.383 MB / 0.8055 GB, free: 8.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.2964, allocations: 0 / 0.8055 GB, free: 8.48 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005458/0.297, allocations: 132.1 kB / 0.8056 GB, free: 8.352 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.297, allocations: 4 kB / 0.8056 GB, free: 8.348 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.619e-05/0.297, allocations: 8 kB / 0.8057 GB, free: 8.34 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.183e-06/0.2971, allocations: 7.938 kB / 0.8057 GB, free: 8.332 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.2971, allocations: 4 kB / 0.8057 GB, free: 8.328 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.2981, allocations: 0.8338 MB / 0.8065 GB, free: 7.406 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001711/0.2983, allocations: 144.8 kB / 0.8066 GB, free: 7.246 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.875e-05/0.2983, allocations: 11.98 kB / 0.8066 GB, free: 7.234 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003201/0.2987, allocations: 43.89 kB / 0.8067 GB, free: 7.191 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.793e-05/0.2987, allocations: 31.92 kB / 0.8067 GB, free: 7.16 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.601e-05/0.2988, allocations: 15.98 kB / 0.8067 GB, free: 7.145 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001271/0.2989, allocations: 144.3 kB / 0.8069 GB, free: 7.004 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2989, allocations: 0 / 0.8069 GB, free: 7.004 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006474/0.2996, allocations: 140 kB / 0.807 GB, free: 6.867 MB / 0.6231 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.001627/0.3012, allocations: 1.945 MB / 0.8089 GB, free: 4.84 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001478/0.3027, allocations: 0.872 MB / 0.8097 GB, free: 3.969 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3027, allocations: 0 / 0.8097 GB, free: 3.969 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000424/0.3031, allocations: 272.7 kB / 0.81 GB, free: 3.703 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/0.3035, allocations: 31.92 kB / 0.81 GB, free: 3.672 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003721/0.3072, allocations: 3.602 MB / 0.8135 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.3076, allocations: 0.7887 MB / 0.8143 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004901/0.3081, allocations: 174.8 kB / 0.8145 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001829/0.3083, allocations: 83.41 kB / 0.8146 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of SimCode: time 5.31e-07/0.3083, allocations: 0 / 0.8146 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0179/0.3262, allocations: 6.723 MB / 0.8211 GB, free: 8.332 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002045/0.3264, allocations: 194.7 kB / 0.8213 GB, free: 8.094 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/2.113, allocations: 0 / 0.8213 GB, free: 8.094 MB / 0.6387 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1) Environment - environmentSimulation: