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.ACACConverter.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.ACACConverter,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.723/1.723, allocations: 288.4 MB / 303.3 MB, free: 8.156 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.0009523/0.0009523, allocations: 191.3 kB / 372 MB, free: 10.23 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.734/1.734, allocations: 205.4 MB / 0.6307 GB, free: 9.922 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.0007522/0.0007521, allocations: 106.3 kB / 0.7441 GB, free: 5.859 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004336/0.0004338, allocations: 11.03 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.222, allocations: 115.3 MB / 0.9797 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.003281/0.2253, allocations: 2.358 MB / 0.982 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003149/0.2285, allocations: 1.904 MB / 0.9838 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002616/0.2288, allocations: 0 / 0.9838 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002668/0.2291, allocations: 27.78 kB / 0.9838 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007214/0.2298, allocations: 151.3 kB / 0.984 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008936/0.2308, allocations: 197 kB / 0.9842 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004797/0.2312, allocations: 367 kB / 0.9845 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006621/0.2319, allocations: 358.7 kB / 0.9849 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002673/0.2322, allocations: 99.61 kB / 0.985 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003549/0.2326, allocations: 143.5 kB / 0.9851 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.841e-05/0.2326, allocations: 16 kB / 0.9851 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005652/0.2332, allocations: 251.6 kB / 0.9853 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.2333, allocations: 83.77 kB / 0.9854 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.744e-05/0.2334, allocations: 65.58 kB / 0.9855 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004873/0.2339, allocations: 335.2 kB / 0.9858 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.2339, allocations: 0 / 0.9858 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.215e-06/0.2339, allocations: 0 / 0.9858 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.152e-05/0.2339, allocations: 0 / 0.9858 GB, free: 21.14 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.000934/0.2349, allocations: 0.5223 MB / 0.9863 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.2349, allocations: 12.03 kB / 0.9863 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.518e-05/0.235, allocations: 54.55 kB / 0.9864 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007411/0.2357, allocations: 111.5 kB / 0.9865 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003208/0.2361, allocations: 248.7 kB / 0.9867 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.759e-05/0.2361, allocations: 16.44 kB / 0.9867 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.509e-05/0.2362, allocations: 19.98 kB / 0.9868 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005856/0.2368, allocations: 389.9 kB / 0.9871 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.2368, allocations: 0 / 0.9871 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.18e-05/0.2368, allocations: 11.98 kB / 0.9871 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-05/0.2369, allocations: 27.98 kB / 0.9872 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006071/0.2375, allocations: 371.4 kB / 0.9875 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001688/0.2392, allocations: 1.73 MB / 0.9892 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005755/0.2398, allocations: 344.9 kB / 0.9895 GB, free: 17.03 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002694/0.2401, allocations: 193.6 kB / 0.9897 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001324/0.2402, allocations: 101 kB / 0.9898 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.559e-05/0.2403, allocations: 30.56 kB / 0.9899 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=25): time 1.453e-06/0.2403, allocations: 0 / 0.9899 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=35): time 0.007485/0.2478, allocations: 2.068 MB / 0.9919 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.2478, allocations: 85.05 kB / 0.992 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.248, allocations: 179.7 kB / 0.9921 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.965e-05/0.2481, allocations: 33.7 kB / 0.9922 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.147e-05/0.2481, allocations: 148.4 kB / 0.9923 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.255e-05/0.2482, allocations: 122.3 kB / 0.9924 GB, free: 14 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.624e-05/0.2483, allocations: 4 kB / 0.9924 GB, free: 14 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.697e-05/0.2483, allocations: 338.8 kB / 0.9927 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004179/0.2487, allocations: 255.8 kB / 0.993 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004779/0.2492, allocations: 341.5 kB / 0.9933 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005056/0.2497, allocations: 305.2 kB / 0.9936 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.2498, allocations: 0 / 0.9936 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001185/0.251, allocations: 0.6537 MB / 0.9942 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.38e-05/0.2511, allocations: 152.9 kB / 0.9944 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.2511, allocations: 0 / 0.9944 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.986e-05/0.2511, allocations: 4 kB / 0.9944 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009187/0.252, allocations: 163.7 kB / 0.9946 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/0.2521, allocations: 7.953 kB / 0.9946 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000458/0.2525, allocations: 55.92 kB / 0.9946 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.374e-05/0.2526, allocations: 12 kB / 0.9946 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.2526, allocations: 8 kB / 0.9946 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001031/0.2537, allocations: 0.5934 MB / 0.9952 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.2537, allocations: 3.984 kB / 0.9952 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.212e-06/0.2537, allocations: 8 kB / 0.9952 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000789/0.2545, allocations: 148 kB / 0.9954 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.2545, allocations: 4 kB / 0.9954 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003922/0.2549, allocations: 55.94 kB / 0.9954 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.976e-05/0.2549, allocations: 19.98 kB / 0.9954 GB, free: 10.83 MB / 0.6198 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.0002435/0.2552, allocations: 244.9 kB / 0.9957 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.2553, allocations: 27.72 kB / 0.9957 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00125/0.2566, allocations: 0.6725 MB / 0.9964 GB, free: 9.871 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.2566, allocations: 8 kB / 0.9964 GB, free: 9.863 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.2566, allocations: 3.938 kB / 0.9964 GB, free: 9.859 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.2566, allocations: 0 / 0.9964 GB, free: 9.859 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001929/0.2585, allocations: 1.395 MB / 0.9977 GB, free: 8.367 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.2586, allocations: 3.938 kB / 0.9977 GB, free: 8.363 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005707/0.2591, allocations: 124.1 kB / 0.9979 GB, free: 8.242 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.265e-05/0.2592, allocations: 4 kB / 0.9979 GB, free: 8.238 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.896e-05/0.2592, allocations: 15.98 kB / 0.9979 GB, free: 8.223 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.2592, allocations: 4 kB / 0.9979 GB, free: 8.219 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.2592, allocations: 4 kB / 0.9979 GB, free: 8.215 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000855/0.2601, allocations: 0.7379 MB / 0.9986 GB, free: 7.438 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/0.2602, allocations: 140.8 kB / 0.9987 GB, free: 7.281 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.668e-05/0.2603, allocations: 8 kB / 0.9987 GB, free: 7.273 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003299/0.2606, allocations: 51.94 kB / 0.9988 GB, free: 7.223 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.321e-05/0.2607, allocations: 35.86 kB / 0.9988 GB, free: 7.188 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.627e-05/0.2607, allocations: 12 kB / 0.9988 GB, free: 7.176 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001042/0.2608, allocations: 143.1 kB / 0.999 GB, free: 7.035 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2609, allocations: 0 / 0.999 GB, free: 7.035 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006683/0.2615, allocations: 148 kB / 0.9991 GB, free: 6.891 MB / 0.6198 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.001182/0.2627, allocations: 1.299 MB / 1 GB, free: 5.543 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001392/0.2641, allocations: 0.8634 MB / 1.001 GB, free: 4.68 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2641, allocations: 0 / 1.001 GB, free: 4.68 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003945/0.2645, allocations: 268.3 kB / 1.001 GB, free: 4.418 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005377/0.2651, allocations: 53.92 kB / 1.002 GB, free: 4.367 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00311/0.2682, allocations: 2.252 MB / 1.004 GB, free: 2.012 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.2685, allocations: 0.7838 MB / 1.004 GB, free: 1.203 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0005489/0.269, allocations: 170.8 kB / 1.005 GB, free: 1.035 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000188/0.2692, allocations: 83.39 kB / 1.005 GB, free: 0.9531 MB / 0.6198 GB Notification: Performance of SimCode: time 8.42e-07/0.2692, allocations: 0 / 1.005 GB, free: 0.9531 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02095/0.2902, allocations: 6.749 MB / 1.011 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002045/0.2904, allocations: 212.7 kB / 1.012 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.975/2.265, allocations: 0 / 1.012 GB, free: 10.16 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1)