Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.673/1.673, allocations: 288.4 MB / 303.3 MB, free: 8.168 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.00117/0.00117, allocations: 182.5 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.667/1.667, allocations: 205.4 MB / 0.6307 GB, free: 9.984 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.0007496/0.0007497, allocations: 82.36 kB / 0.744 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004287/0.0004288, allocations: 11.06 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2272, allocations: 115.3 MB / 0.9797 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.003459/0.2307, allocations: 2.907 MB / 0.9825 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002813/0.2335, allocations: 2.04 MB / 0.9845 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002727/0.2338, allocations: 4 kB / 0.9845 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002141/0.2341, allocations: 43.64 kB / 0.9845 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006199/0.2347, allocations: 175.2 kB / 0.9847 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007982/0.2355, allocations: 213.6 kB / 0.9849 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005551/0.2361, allocations: 446.5 kB / 0.9853 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005485/0.2366, allocations: 321.3 kB / 0.9856 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003354/0.237, allocations: 131.5 kB / 0.9858 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003901/0.2374, allocations: 159.5 kB / 0.9859 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.675e-05/0.2374, allocations: 12 kB / 0.9859 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005887/0.238, allocations: 271.5 kB / 0.9862 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.738e-05/0.2381, allocations: 91.77 kB / 0.9863 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.931e-05/0.2382, allocations: 69.58 kB / 0.9863 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004749/0.2387, allocations: 371.1 kB / 0.9867 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.2387, allocations: 0 / 0.9867 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.505e-06/0.2387, allocations: 0 / 0.9867 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.177e-05/0.2387, allocations: 0 / 0.9867 GB, free: 20.29 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.0008769/0.2396, allocations: 0.5728 MB / 0.9872 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.2397, allocations: 12.03 kB / 0.9873 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.23e-05/0.2398, allocations: 54.55 kB / 0.9873 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008779/0.2407, allocations: 131.4 kB / 0.9874 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003944/0.2411, allocations: 262.6 kB / 0.9877 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/0.2411, allocations: 16.44 kB / 0.9877 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.168e-05/0.2411, allocations: 23.98 kB / 0.9877 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007231/0.2419, allocations: 419.5 kB / 0.9881 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.2419, allocations: 0 / 0.9881 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.711e-05/0.2419, allocations: 11.98 kB / 0.9881 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.464e-05/0.242, allocations: 40.48 kB / 0.9882 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006239/0.2426, allocations: 357.8 kB / 0.9885 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002159/0.2448, allocations: 2.05 MB / 0.9905 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007429/0.2456, allocations: 365.6 kB / 0.9909 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004153/0.246, allocations: 202 kB / 0.9911 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 9.674e-05/0.2461, allocations: 89.28 kB / 0.9911 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.2461, allocations: 38.69 kB / 0.9912 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 1.503e-06/0.2461, allocations: 0 / 0.9912 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34): time 0.005051/0.2512, allocations: 1.754 MB / 0.9929 GB, free: 13.53 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.2513, allocations: 85.06 kB / 0.993 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.2515, allocations: 228.9 kB / 0.9932 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.943e-05/0.2515, allocations: 33.7 kB / 0.9932 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.35e-05/0.2516, allocations: 187.9 kB / 0.9934 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.515e-05/0.2517, allocations: 118.4 kB / 0.9935 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.979e-05/0.2517, allocations: 8 kB / 0.9935 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.328e-05/0.2518, allocations: 334.8 kB / 0.9938 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003579/0.2521, allocations: 200.8 kB / 0.994 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003852/0.2525, allocations: 313 kB / 0.9943 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003993/0.2529, allocations: 243.8 kB / 0.9946 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.253, allocations: 8 kB / 0.9946 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001176/0.2541, allocations: 0.6718 MB / 0.9952 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001116/0.2543, allocations: 184.3 kB / 0.9954 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.2543, allocations: 4 kB / 0.9954 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000509/0.2548, allocations: 147.3 kB / 0.9956 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003975/0.2552, allocations: 91.88 kB / 0.9956 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002156/0.2574, allocations: 3.954 MB / 0.9995 GB, free: 6.277 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003679/0.2577, allocations: 39.95 kB / 0.9995 GB, free: 6.238 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.496e-05/0.2578, allocations: 19.94 kB / 0.9996 GB, free: 6.219 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.536e-06/0.2578, allocations: 6.031 kB / 0.9996 GB, free: 6.215 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001092/0.2589, allocations: 0.6201 MB / 1 GB, free: 5.582 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.2589, allocations: 0 / 1 GB, free: 5.582 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003514/0.2593, allocations: 151.4 kB / 1 GB, free: 5.422 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003883/0.2597, allocations: 95.86 kB / 1 GB, free: 5.328 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004243/0.2601, allocations: 1.109 MB / 1.001 GB, free: 4.168 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003135/0.2605, allocations: 39.95 kB / 1.002 GB, free: 4.129 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.885e-05/0.2605, allocations: 23.94 kB / 1.002 GB, free: 4.105 MB / 0.6198 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.0001848/0.2607, allocations: 249.1 kB / 1.002 GB, free: 3.852 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.992e-05/0.2608, allocations: 31.67 kB / 1.002 GB, free: 3.82 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001218/0.262, allocations: 0.6324 MB / 1.002 GB, free: 3.168 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.262, allocations: 8 kB / 1.002 GB, free: 3.16 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.262, allocations: 0 / 1.002 GB, free: 3.16 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.262, allocations: 3.984 kB / 1.002 GB, free: 3.156 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001974/0.264, allocations: 1.335 MB / 1.004 GB, free: 1.715 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.264, allocations: 0 / 1.004 GB, free: 1.715 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002433/0.2643, allocations: 72.14 kB / 1.004 GB, free: 1.645 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003963/0.2647, allocations: 147.3 kB / 1.004 GB, free: 1.488 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.267e-05/0.2647, allocations: 11.95 kB / 1.004 GB, free: 1.477 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002603/0.2673, allocations: 3.954 MB / 1.008 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.957e-06/0.2673, allocations: 11.97 kB / 1.008 GB, free: 13.19 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001292/0.2686, allocations: 0.8043 MB / 1.009 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001623/0.2688, allocations: 132.8 kB / 1.009 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.961e-05/0.2689, allocations: 11.98 kB / 1.009 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003271/0.2692, allocations: 39.97 kB / 1.009 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.84e-05/0.2693, allocations: 35.86 kB / 1.009 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.776e-05/0.2693, allocations: 11.98 kB / 1.009 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001758/0.2695, allocations: 168.5 kB / 1.009 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2695, allocations: 4 kB / 1.009 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007892/0.2703, allocations: 156 kB / 1.009 GB, free: 11.77 MB / 0.6355 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.001694/0.272, allocations: 1.357 MB / 1.01 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002221/0.2743, allocations: 1.213 MB / 1.012 GB, free: 9.066 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.2743, allocations: 0 / 1.012 GB, free: 9.066 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007668/0.275, allocations: 490.3 kB / 1.012 GB, free: 8.562 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005547/0.2756, allocations: 64.39 kB / 1.012 GB, free: 8.5 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00374/0.2794, allocations: 2.263 MB / 1.014 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004788/0.2799, allocations: 0.8045 MB / 1.015 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003765/0.2802, allocations: 114.9 kB / 1.015 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/0.2804, allocations: 87.41 kB / 1.015 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of SimCode: time 5.91e-07/0.2804, allocations: 3.938 kB / 1.015 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02325/0.3037, allocations: 8.283 MB / 1.023 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002813/0.304, allocations: 244 kB / 1.024 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.153/2.457, allocations: 2.812 kB / 1.024 GB, free: 12.7 MB / 0.6511 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1)