Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_8_0_0_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_0_0_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 8.0.0/package.mo): time 2.641/2.641, allocations: 287.3 MB / 302.3 MB, free: 8.352 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001541/0.001541, allocations: 182.3 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.128/2.128, allocations: 205.4 MB / 0.6295 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001065/0.001064, allocations: 95.09 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005018/0.0005019, allocations: 15.67 kB / 0.8657 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2058, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.004176/0.21, allocations: 2.841 MB / 0.9811 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003904/0.214, allocations: 2.037 MB / 0.9831 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001978/0.2142, allocations: 4 kB / 0.9831 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001973/0.2144, allocations: 39.75 kB / 0.9831 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006248/0.215, allocations: 163.5 kB / 0.9833 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000846/0.2159, allocations: 223.3 kB / 0.9835 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003758/0.2163, allocations: 223.6 kB / 0.9837 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005441/0.2169, allocations: 321.3 kB / 0.984 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002366/0.2171, allocations: 103.6 kB / 0.9841 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002784/0.2174, allocations: 127.6 kB / 0.9842 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.112e-05/0.2175, allocations: 12 kB / 0.9842 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006384/0.2181, allocations: 259.5 kB / 0.9845 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.902e-05/0.2182, allocations: 75.8 kB / 0.9845 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.622e-05/0.2183, allocations: 69.58 kB / 0.9846 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000575/0.2189, allocations: 371.1 kB / 0.985 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.2189, allocations: 0 / 0.985 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.954e-06/0.2189, allocations: 0 / 0.985 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.2189, allocations: 0 / 0.985 GB, free: 21.38 MB / 0.6198 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.001015/0.22, allocations: 0.569 MB / 0.9855 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.22, allocations: 12.02 kB / 0.9855 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.383e-05/0.2201, allocations: 62.52 kB / 0.9856 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001304/0.2214, allocations: 139.4 kB / 0.9857 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003942/0.2218, allocations: 266.6 kB / 0.986 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.2219, allocations: 16.44 kB / 0.986 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.573e-05/0.2219, allocations: 23.98 kB / 0.986 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008644/0.2228, allocations: 411.5 kB / 0.9864 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.2228, allocations: 11.98 kB / 0.9864 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.085e-05/0.2229, allocations: 4 kB / 0.9864 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.852e-05/0.223, allocations: 36.5 kB / 0.9865 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009357/0.2239, allocations: 357.9 kB / 0.9868 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002965/0.2269, allocations: 2.062 MB / 0.9888 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/0.2281, allocations: 367.7 kB / 0.9892 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001234/0.2282, allocations: 89.28 kB / 0.9892 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.2283, allocations: 42.69 kB / 0.9893 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 2.264e-06/0.2283, allocations: 0 / 0.9893 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34): time 0.008169/0.2365, allocations: 1.768 MB / 0.991 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/0.2365, allocations: 85.06 kB / 0.9911 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002602/0.2368, allocations: 228.9 kB / 0.9913 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.791e-05/0.2368, allocations: 37.7 kB / 0.9913 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.237, allocations: 179.9 kB / 0.9915 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.85e-05/0.2371, allocations: 122.3 kB / 0.9916 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.342e-05/0.2371, allocations: 8 kB / 0.9916 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.461e-05/0.2372, allocations: 338.8 kB / 0.992 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006069/0.2378, allocations: 204.8 kB / 0.9922 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006549/0.2385, allocations: 317.2 kB / 0.9925 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000674/0.2392, allocations: 255.4 kB / 0.9927 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2392, allocations: 0 / 0.9927 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001955/0.2412, allocations: 0.6759 MB / 0.9934 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002306/0.2414, allocations: 1.138 MB / 0.9945 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.2414, allocations: 4 kB / 0.9945 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007128/0.2421, allocations: 139.3 kB / 0.9946 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007494/0.2429, allocations: 103.8 kB / 0.9947 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003019/0.246, allocations: 3.973 MB / 0.9986 GB, free: 6.496 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000567/0.2466, allocations: 35.97 kB / 0.9986 GB, free: 6.461 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.716e-05/0.2466, allocations: 16 kB / 0.9986 GB, free: 6.445 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.217e-06/0.2466, allocations: 4.188 kB / 0.9986 GB, free: 6.441 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001844/0.2485, allocations: 0.6429 MB / 0.9993 GB, free: 5.785 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.2485, allocations: 4 kB / 0.9993 GB, free: 5.781 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005999/0.2491, allocations: 143.5 kB / 0.9994 GB, free: 5.629 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007147/0.2499, allocations: 99.81 kB / 0.9995 GB, free: 5.531 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005689/0.2504, allocations: 1.112 MB / 1.001 GB, free: 4.367 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004876/0.2509, allocations: 39.95 kB / 1.001 GB, free: 4.328 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.167e-05/0.251, allocations: 16 kB / 1.001 GB, free: 4.312 MB / 0.6198 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.0002499/0.2513, allocations: 249.2 kB / 1.001 GB, free: 4.059 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.514e-05/0.2514, allocations: 27.67 kB / 1.001 GB, free: 4.031 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001833/0.2532, allocations: 0.6437 MB / 1.002 GB, free: 3.367 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.2532, allocations: 4 kB / 1.002 GB, free: 3.363 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.2532, allocations: 3.953 kB / 1.002 GB, free: 3.359 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.2533, allocations: 7.984 kB / 1.002 GB, free: 3.352 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002895/0.2562, allocations: 1.238 MB / 1.003 GB, free: 2.023 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.411e-06/0.2562, allocations: 0 / 1.003 GB, free: 2.023 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004917/0.2567, allocations: 68.11 kB / 1.003 GB, free: 1.957 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006634/0.2574, allocations: 151.3 kB / 1.003 GB, free: 1.797 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.584e-05/0.2574, allocations: 11.95 kB / 1.003 GB, free: 1.785 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003661/0.2611, allocations: 4.001 MB / 1.007 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/0.2611, allocations: 4.031 kB / 1.007 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002115/0.2633, allocations: 0.8878 MB / 1.008 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002489/0.2635, allocations: 140.7 kB / 1.008 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.808e-05/0.2636, allocations: 8 kB / 1.008 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005186/0.2641, allocations: 35.97 kB / 1.008 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/0.2643, allocations: 35.91 kB / 1.008 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-05/0.2643, allocations: 12 kB / 1.008 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002408/0.2646, allocations: 172.4 kB / 1.008 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.4e-07/0.2646, allocations: 0 / 1.008 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001035/0.2656, allocations: 160 kB / 1.008 GB, free: 11.91 MB / 0.6355 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.00275/0.2684, allocations: 2.018 MB / 1.01 GB, free: 9.797 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003325/0.2718, allocations: 1.224 MB / 1.011 GB, free: 8.504 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.2718, allocations: 4.062 kB / 1.011 GB, free: 8.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001286/0.2731, allocations: 497.5 kB / 1.012 GB, free: 7.988 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006263/0.2737, allocations: 48.41 kB / 1.012 GB, free: 7.938 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006713/0.2805, allocations: 4.081 MB / 1.016 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005878/0.2811, allocations: 0.8084 MB / 1.017 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0006688/0.2818, allocations: 126.8 kB / 1.017 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002319/0.282, allocations: 87.41 kB / 1.017 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of SimCode: time 1.233e-06/0.282, allocations: 0 / 1.017 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04677/0.3288, allocations: 8.246 MB / 1.025 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000326/0.3292, allocations: 236.8 kB / 1.025 GB, free: 10.44 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.678/3.007, allocations: 4 kB / 1.025 GB, free: 10.43 MB / 0.6511 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter.fmu > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1)