Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_9_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009211/0.000921, allocations: 86.72 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001193/0.001194, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 223.2 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.497/2.497, allocations: 390.4 MB / 0.6655 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005036/0.0005036, allocations: 12 kB / 0.8149 GB, free: 14.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8278/0.8283, allocations: 142.3 MB / 0.9539 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.003074/0.8315, allocations: 2.352 MB / 0.9562 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002697/0.8342, allocations: 1.867 MB / 0.958 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002354/0.8344, allocations: 3.094 kB / 0.958 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002181/0.8347, allocations: 26.72 kB / 0.958 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0006103/0.8353, allocations: 151.9 kB / 0.9582 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007501/0.8361, allocations: 206.8 kB / 0.9584 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005297/0.8366, allocations: 366.5 kB / 0.9587 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006649/0.8373, allocations: 353.1 kB / 0.959 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002628/0.8376, allocations: 109.1 kB / 0.9591 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003632/0.8379, allocations: 148.1 kB / 0.9593 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.371e-05/0.838, allocations: 11 kB / 0.9593 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005131/0.8385, allocations: 254.6 kB / 0.9595 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001391/0.8386, allocations: 83.11 kB / 0.9596 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.362e-05/0.8387, allocations: 64.92 kB / 0.9597 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005053/0.8392, allocations: 335.1 kB / 0.96 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.503e-06/0.8393, allocations: 1.188 kB / 0.96 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.072e-06/0.8393, allocations: 0 / 0.96 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.072e-05/0.8393, allocations: 0 / 0.96 GB, free: 3.504 MB / 0.7169 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.000906/0.8402, allocations: 0.5222 MB / 0.9605 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.8402, allocations: 9.469 kB / 0.9605 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.729e-05/0.8403, allocations: 58.72 kB / 0.9606 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007987/0.8411, allocations: 108.6 kB / 0.9607 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003413/0.8415, allocations: 252 kB / 0.9609 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.8415, allocations: 12.59 kB / 0.9609 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.056e-05/0.8416, allocations: 24.56 kB / 0.961 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006827/0.8423, allocations: 385.8 kB / 0.9613 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.8423, allocations: 4.891 kB / 0.9613 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.033e-05/0.8423, allocations: 10.22 kB / 0.9613 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-05/0.8424, allocations: 20.67 kB / 0.9614 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006951/0.8431, allocations: 371.2 kB / 0.9617 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001737/0.8448, allocations: 1.739 MB / 0.9634 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006189/0.8455, allocations: 350.8 kB / 0.9637 GB, free: 376 kB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002951/0.8458, allocations: 191.6 kB / 0.9639 GB, free: 268 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001289/0.8459, allocations: 84.14 kB / 0.964 GB, free: 172 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.8459, allocations: 40.64 kB / 0.964 GB, free: 124 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=25): time 1.774e-06/0.8459, allocations: 0 / 0.964 GB, free: 124 kB / 0.7169 GB Notification: Performance of matching and sorting (n=35): time 0.007228/0.8532, allocations: 2.078 MB / 0.9661 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.438e-05/0.8533, allocations: 84.91 kB / 0.9662 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002248/0.8535, allocations: 178.2 kB / 0.9663 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.161e-05/0.8536, allocations: 31.02 kB / 0.9664 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.8537, allocations: 154.3 kB / 0.9665 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.8538, allocations: 121.4 kB / 0.9666 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.143e-05/0.8539, allocations: 5.875 kB / 0.9666 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.854, allocations: 332.2 kB / 0.9669 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005203/0.8545, allocations: 256.9 kB / 0.9672 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006169/0.8551, allocations: 341.5 kB / 0.9675 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005668/0.8557, allocations: 297.9 kB / 0.9678 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.8557, allocations: 1.219 kB / 0.9678 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001222/0.857, allocations: 0.6476 MB / 0.9684 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001285/0.8571, allocations: 165.4 kB / 0.9686 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.8571, allocations: 2.562 kB / 0.9686 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.8571, allocations: 7.969 kB / 0.9686 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008302/0.858, allocations: 153.3 kB / 0.9687 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/0.858, allocations: 4.156 kB / 0.9687 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004229/0.8584, allocations: 62.58 kB / 0.9688 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.053e-05/0.8585, allocations: 16.34 kB / 0.9688 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.798e-06/0.8585, allocations: 3.125 kB / 0.9688 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001175/0.8597, allocations: 0.5836 MB / 0.9694 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.8597, allocations: 2.281 kB / 0.9694 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.706e-06/0.8597, allocations: 4.75 kB / 0.9694 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007623/0.8605, allocations: 155.6 kB / 0.9696 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.8605, allocations: 4 kB / 0.9696 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003698/0.8609, allocations: 52.72 kB / 0.9696 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.285e-05/0.861, allocations: 19.23 kB / 0.9696 GB, free: 12.81 MB / 0.7325 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.0002375/0.8612, allocations: 248 kB / 0.9699 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.975e-05/0.8613, allocations: 25.86 kB / 0.9699 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001492/0.8628, allocations: 0.6836 MB / 0.9706 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-06/0.8628, allocations: 4.031 kB / 0.9706 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.8628, allocations: 1.031 kB / 0.9706 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/0.8628, allocations: 4.906 kB / 0.9706 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002449/0.8653, allocations: 1.381 MB / 0.9719 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-06/0.8653, allocations: 2.219 kB / 0.9719 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005831/0.8659, allocations: 123.9 kB / 0.972 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-05/0.8659, allocations: 4.375 kB / 0.972 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.862e-05/0.866, allocations: 11.7 kB / 0.972 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.02e-05/0.866, allocations: 4.5 kB / 0.972 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/0.866, allocations: 9.953 kB / 0.9721 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.8671, allocations: 0.7287 MB / 0.9728 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001748/0.8673, allocations: 140.5 kB / 0.9729 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.654e-05/0.8673, allocations: 12.31 kB / 0.9729 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000331/0.8677, allocations: 44.38 kB / 0.973 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.718e-05/0.8678, allocations: 32.67 kB / 0.973 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.078e-05/0.8678, allocations: 17.97 kB / 0.973 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00014/0.868, allocations: 150 kB / 0.9731 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.868, allocations: 0 / 0.9731 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007368/0.8687, allocations: 143.3 kB / 0.9733 GB, free: 10.24 MB / 0.7325 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.001479/0.8702, allocations: 1.315 MB / 0.9746 GB, free: 9.168 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001642/0.8719, allocations: 0.868 MB / 0.9754 GB, free: 8.762 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.8719, allocations: 0 / 0.9754 GB, free: 8.762 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004608/0.8723, allocations: 269.7 kB / 0.9757 GB, free: 8.641 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005343/0.8729, allocations: 44.59 kB / 0.9757 GB, free: 8.617 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003923/0.8768, allocations: 2.251 MB / 0.9779 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/0.8772, allocations: 0.7877 MB / 0.9787 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000558/0.8778, allocations: 166.8 kB / 0.9788 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002047/0.878, allocations: 79.41 kB / 0.9789 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of SimCode: time 2.965e-06/0.878, allocations: 4 kB / 0.9789 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02023/0.8983, allocations: 6.748 MB / 0.9855 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001894/0.8985, allocations: 205.7 kB / 0.9857 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.844/2.742, allocations: 3.938 kB / 0.9857 GB, free: 14.78 MB / 0.7481 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter_res.mat does not exist to compare? outputFormat=mat