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 1.387/1.387, allocations: 287.4 MB / 302.5 MB, free: 8.301 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.0008574/0.0008575, allocations: 181.5 kB / 371.1 MB, free: 10.83 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.088/1.088, allocations: 205.4 MB / 0.6298 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.0006664/0.0006664, allocations: 89.75 kB / 0.7431 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0002968/0.0002968, allocations: 11.72 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.137, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.002391/0.1394, allocations: 2.911 MB / 0.9816 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00208/0.1415, allocations: 2.068 MB / 0.9836 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.1417, allocations: 7.938 kB / 0.9836 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001362/0.1418, allocations: 35.7 kB / 0.9836 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003707/0.1422, allocations: 175.2 kB / 0.9838 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004722/0.1427, allocations: 225.2 kB / 0.984 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003071/0.143, allocations: 446.5 kB / 0.9845 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003618/0.1433, allocations: 345.1 kB / 0.9848 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.1435, allocations: 119.5 kB / 0.9849 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002085/0.1437, allocations: 167.5 kB / 0.9851 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.105e-05/0.1438, allocations: 8 kB / 0.9851 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003355/0.1441, allocations: 275.5 kB / 0.9853 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.526e-05/0.1442, allocations: 83.77 kB / 0.9854 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.521e-05/0.1442, allocations: 69.58 kB / 0.9855 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002928/0.1445, allocations: 379 kB / 0.9858 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.165e-06/0.1445, allocations: 0 / 0.9858 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.022e-06/0.1445, allocations: 0 / 0.9858 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.1445, allocations: 0 / 0.9858 GB, free: 20.76 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.0006295/0.1452, allocations: 0.5575 MB / 0.9864 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.1452, allocations: 8.031 kB / 0.9864 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.075e-05/0.1453, allocations: 66.72 kB / 0.9865 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006593/0.1459, allocations: 120.4 kB / 0.9866 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.1462, allocations: 279.7 kB / 0.9868 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.1462, allocations: 16.81 kB / 0.9868 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.228e-05/0.1462, allocations: 20.38 kB / 0.9869 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004801/0.1467, allocations: 423.7 kB / 0.9873 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.1468, allocations: 0 / 0.9873 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.432e-05/0.1468, allocations: 12 kB / 0.9873 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.76e-05/0.1468, allocations: 32.53 kB / 0.9873 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004804/0.1473, allocations: 361.8 kB / 0.9877 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001588/0.1489, allocations: 2.065 MB / 0.9897 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005964/0.1495, allocations: 353.1 kB / 0.99 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002926/0.1498, allocations: 197.6 kB / 0.9902 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.948e-05/0.1499, allocations: 85.09 kB / 0.9903 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.712e-05/0.1499, allocations: 42.5 kB / 0.9903 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 1.432e-06/0.1499, allocations: 4 kB / 0.9903 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34): time 0.004033/0.154, allocations: 1.755 MB / 0.992 GB, free: 14 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.056e-05/0.154, allocations: 85.05 kB / 0.9921 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.1542, allocations: 233 kB / 0.9923 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.1542, allocations: 33.7 kB / 0.9924 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.54e-05/0.1542, allocations: 180 kB / 0.9925 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.069e-05/0.1543, allocations: 118.3 kB / 0.9927 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.633e-05/0.1543, allocations: 8 kB / 0.9927 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.134e-05/0.1544, allocations: 334.8 kB / 0.993 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002978/0.1547, allocations: 204.7 kB / 0.9932 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000322/0.155, allocations: 313 kB / 0.9935 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006201/0.1556, allocations: 0.5345 MB / 0.994 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1556, allocations: 0 / 0.994 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009387/0.1566, allocations: 0.672 MB / 0.9947 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.805e-05/0.1566, allocations: 182 kB / 0.9948 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1567, allocations: 4 kB / 0.9948 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003961/0.1571, allocations: 147.3 kB / 0.995 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003334/0.1574, allocations: 99.88 kB / 0.9951 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001625/0.159, allocations: 3.946 MB / 0.9989 GB, free: 6.418 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002634/0.1593, allocations: 40.11 kB / 0.999 GB, free: 6.379 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.606e-05/0.1593, allocations: 20 kB / 0.999 GB, free: 6.359 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.169e-06/0.1594, allocations: 7.938 kB / 0.999 GB, free: 6.352 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009117/0.1603, allocations: 0.6315 MB / 0.9996 GB, free: 5.707 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.1603, allocations: 4 kB / 0.9996 GB, free: 5.703 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002884/0.1606, allocations: 131.3 kB / 0.9997 GB, free: 5.562 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00034/0.1609, allocations: 104 kB / 0.9998 GB, free: 5.461 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003211/0.1613, allocations: 1.112 MB / 1.001 GB, free: 4.297 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002463/0.1615, allocations: 40.16 kB / 1.001 GB, free: 4.258 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.1615, allocations: 16 kB / 1.001 GB, free: 4.242 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.000125/0.1617, allocations: 245 kB / 1.001 GB, free: 3.992 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.298e-05/0.1617, allocations: 27.72 kB / 1.001 GB, free: 3.965 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009458/0.1627, allocations: 0.6287 MB / 1.002 GB, free: 3.316 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1627, allocations: 7.938 kB / 1.002 GB, free: 3.309 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.1627, allocations: 7.938 kB / 1.002 GB, free: 3.301 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.1627, allocations: 0 / 1.002 GB, free: 3.301 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001576/0.1643, allocations: 1.346 MB / 1.003 GB, free: 1.848 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1643, allocations: 4 kB / 1.003 GB, free: 1.844 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002197/0.1645, allocations: 63.84 kB / 1.003 GB, free: 1.781 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003485/0.1649, allocations: 159.5 kB / 1.003 GB, free: 1.613 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.1649, allocations: 8 kB / 1.003 GB, free: 1.605 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001999/0.1669, allocations: 3.957 MB / 1.007 GB, free: 13.33 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.167, allocations: 3.938 kB / 1.007 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.168, allocations: 0.8005 MB / 1.008 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.1681, allocations: 140.7 kB / 1.008 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.74e-05/0.1681, allocations: 8 kB / 1.008 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002744/0.1684, allocations: 43.95 kB / 1.008 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.427e-05/0.1685, allocations: 31.91 kB / 1.008 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.132e-05/0.1685, allocations: 12 kB / 1.008 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001259/0.1687, allocations: 168.5 kB / 1.008 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1687, allocations: 0 / 1.008 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005574/0.1692, allocations: 163.9 kB / 1.009 GB, free: 11.89 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.00126/0.1705, allocations: 1.354 MB / 1.01 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001666/0.1722, allocations: 1.212 MB / 1.011 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1722, allocations: 0 / 1.011 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006477/0.1728, allocations: 494 kB / 1.012 GB, free: 8.688 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000506/0.1734, allocations: 56.39 kB / 1.012 GB, free: 8.633 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002987/0.1763, allocations: 2.267 MB / 1.014 GB, free: 6.242 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.1767, allocations: 0.8006 MB / 1.015 GB, free: 5.418 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003204/0.177, allocations: 114.9 kB / 1.015 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.1771, allocations: 95.39 kB / 1.015 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of SimCode: time 2.21e-07/0.1771, allocations: 0 / 1.015 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1106/0.2877, allocations: 8.27 MB / 1.023 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001976/0.2879, allocations: 228.6 kB / 1.023 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.856/2.144, allocations: 2.031 kB / 1.023 GB, free: 12.94 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)