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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.71/1.71, allocations: 289.9 MB / 297.4 MB, free: 6.309 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.001344/0.001344, allocations: 176.8 kB / 366.7 MB, free: 1.633 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.612/1.612, allocations: 205.2 MB / 0.626 GB, free: 7.18 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008331/0.0008331, allocations: 79.75 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.934e-05/1.937e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6946/0.6947, allocations: 116.3 MB / 0.9733 GB, free: 76.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2232/0.918, allocations: 167.3 MB / 1.137 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003185/0.9183, allocations: 92.44 kB / 1.137 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.04545/0.9638, allocations: 18.03 MB / 1.154 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.433e-06/0.9638, allocations: 4 kB / 1.154 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.735e-05/0.9639, allocations: 7.984 kB / 1.154 GB, free: 12.6 MB / 0.7605 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.0008706/0.9647, allocations: 0.5254 MB / 1.155 GB, free: 12.03 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.9648, allocations: 12.03 kB / 1.155 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007869/0.9656, allocations: 99.59 kB / 1.155 GB, free: 11.92 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003245/0.9659, allocations: 259.9 kB / 1.155 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.966, allocations: 8 kB / 1.155 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.304e-05/0.966, allocations: 15.98 kB / 1.155 GB, free: 11.6 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004255/0.9664, allocations: 252.8 kB / 1.156 GB, free: 11.35 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005002/0.9669, allocations: 338 kB / 1.156 GB, free: 11 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.967, allocations: 4 kB / 1.156 GB, free: 10.99 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.709e-05/0.967, allocations: 0 / 1.156 GB, free: 10.99 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-05/0.967, allocations: 27.77 kB / 1.156 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001939/0.969, allocations: 1.676 MB / 1.158 GB, free: 9.156 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005542/0.9696, allocations: 314.1 kB / 1.158 GB, free: 8.832 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002371/0.9698, allocations: 175.4 kB / 1.158 GB, free: 8.656 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002026/0.97, allocations: 85.11 kB / 1.158 GB, free: 8.555 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.9701, allocations: 34.56 kB / 1.158 GB, free: 8.512 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=25): time 1.293e-06/0.9701, allocations: 2.812 kB / 1.158 GB, free: 8.512 MB / 0.7605 GB Notification: Performance of matching and sorting (n=35): time 0.00286/0.9729, allocations: 1.09 MB / 1.159 GB, free: 7.414 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/0.973, allocations: 81.11 kB / 1.159 GB, free: 7.316 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.9732, allocations: 158.2 kB / 1.159 GB, free: 7.156 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.06e-05/0.9732, allocations: 25.7 kB / 1.159 GB, free: 7.125 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.9733, allocations: 156.7 kB / 1.16 GB, free: 6.969 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.9734, allocations: 114.3 kB / 1.16 GB, free: 6.855 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-05/0.9735, allocations: 4 kB / 1.16 GB, free: 6.852 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.9736, allocations: 326.8 kB / 1.16 GB, free: 6.523 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002976/0.9739, allocations: 211.9 kB / 1.16 GB, free: 6.316 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003482/0.9742, allocations: 293.3 kB / 1.16 GB, free: 5.996 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005934/0.9748, allocations: 294 kB / 1.161 GB, free: 5.711 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.9749, allocations: 4.031 kB / 1.161 GB, free: 5.707 MB / 0.7605 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001073/0.9759, allocations: 0.6023 MB / 1.161 GB, free: 5.098 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003824/0.9763, allocations: 0.8693 MB / 1.162 GB, free: 4.16 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.9764, allocations: 4 kB / 1.162 GB, free: 4.156 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.9764, allocations: 4 kB / 1.162 GB, free: 4.152 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008406/0.9772, allocations: 163.7 kB / 1.162 GB, free: 3.992 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.9772, allocations: 4 kB / 1.162 GB, free: 3.988 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003506/0.9776, allocations: 43.94 kB / 1.162 GB, free: 3.945 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.094e-05/0.9776, allocations: 15.98 kB / 1.162 GB, free: 3.93 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 9.188e-06/0.9777, allocations: 4 kB / 1.162 GB, free: 3.926 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008783/0.9785, allocations: 455.4 kB / 1.163 GB, free: 3.48 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-06/0.9786, allocations: 0 / 1.163 GB, free: 3.48 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.262e-06/0.9786, allocations: 4 kB / 1.163 GB, free: 3.477 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006855/0.9793, allocations: 132.1 kB / 1.163 GB, free: 3.348 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.9793, allocations: 8 kB / 1.163 GB, free: 3.34 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002603/0.9795, allocations: 34.52 kB / 1.163 GB, free: 3.309 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.896e-05/0.9796, allocations: 19.98 kB / 1.163 GB, free: 3.289 MB / 0.7605 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 () * 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.0001612/0.9798, allocations: 116.8 kB / 1.163 GB, free: 3.168 MB / 0.7605 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001088/0.9809, allocations: 0.5432 MB / 1.164 GB, free: 2.621 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.829e-05/0.9809, allocations: 19.81 kB / 1.164 GB, free: 2.602 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001191/0.9821, allocations: 0.6175 MB / 1.164 GB, free: 1.977 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.9822, allocations: 4 kB / 1.164 GB, free: 1.973 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.9822, allocations: 0 / 1.164 GB, free: 1.973 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.9822, allocations: 4 kB / 1.164 GB, free: 1.969 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002022/0.9842, allocations: 1.27 MB / 1.166 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.9842, allocations: 4.25 kB / 1.166 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005419/0.9848, allocations: 127.1 kB / 1.166 GB, free: 500 kB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.9848, allocations: 4 kB / 1.166 GB, free: 496 kB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.6e-05/0.9848, allocations: 4 kB / 1.166 GB, free: 492 kB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.9848, allocations: 7.953 kB / 1.166 GB, free: 484 kB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.9849, allocations: 4 kB / 1.166 GB, free: 480 kB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009611/0.9858, allocations: 0.7552 MB / 1.166 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001579/0.986, allocations: 148.7 kB / 1.167 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.765e-05/0.986, allocations: 7.984 kB / 1.167 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003235/0.9864, allocations: 35.95 kB / 1.167 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.315e-05/0.9865, allocations: 31.91 kB / 1.167 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.873e-05/0.9865, allocations: 11.98 kB / 1.167 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001228/0.9866, allocations: 139 kB / 1.167 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9866, allocations: 0 / 1.167 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0007034/0.9874, allocations: 143.9 kB / 1.167 GB, free: 15.1 MB / 0.7761 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 () * 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.001613/0.989, allocations: 1.899 MB / 1.169 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0009626/0.99, allocations: 0.6844 MB / 1.169 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.99, allocations: 0 / 1.169 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002748/0.9902, allocations: 221.4 kB / 1.17 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.9906, allocations: 43.52 kB / 1.17 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.9919, allocations: 0.6358 MB / 1.17 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004232/0.9923, allocations: 0.793 MB / 1.171 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0005282/0.9929, allocations: 170.1 kB / 1.171 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001905/0.9931, allocations: 79.41 kB / 1.171 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of SimCode: time 3.5e-07/0.9931, allocations: 4 kB / 1.171 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02686/1.02, allocations: 6.477 MB / 1.178 GB, free: 4.051 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002913/1.02, allocations: 158.3 kB / 1.178 GB, free: 3.859 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.918/2.938, allocations: 5.062 kB / 1.178 GB, free: 3.855 MB / 0.7761 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)