Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_latest_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.001869/0.001869, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.002757/0.002757, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.685/2.685, allocations: 223.2 MB / 239.9 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.577/4.577, allocations: 409.2 MB / 0.6838 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0008013/0.0008015, allocations: 8 kB / 0.8375 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.305/1.306, allocations: 146.8 MB / 0.9809 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.004633/1.31, allocations: 2.317 MB / 0.9831 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004425/1.315, allocations: 1.833 MB / 0.9849 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001597/1.315, allocations: 8 kB / 0.9849 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001835/1.315, allocations: 31.77 kB / 0.985 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0006367/1.316, allocations: 119.6 kB / 0.9851 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008853/1.317, allocations: 211.5 kB / 0.9853 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004092/1.317, allocations: 179.6 kB / 0.9855 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008846/1.318, allocations: 346.5 kB / 0.9858 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002254/1.318, allocations: 91.67 kB / 0.9859 GB, free: 1.137 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003361/1.319, allocations: 99.66 kB / 0.986 GB, free: 1.039 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.22e-05/1.319, allocations: 8 kB / 0.986 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006993/1.32, allocations: 247.6 kB / 0.9862 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001356/1.32, allocations: 79.78 kB / 0.9863 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.734e-05/1.32, allocations: 73.52 kB / 0.9864 GB, free: 0.6328 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006309/1.32, allocations: 337.5 kB / 0.9867 GB, free: 312 kB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/1.321, allocations: 0 / 0.9867 GB, free: 312 kB / 0.7325 GB Notification: Performance of FrontEnd: time 1.803e-06/1.321, allocations: 0 / 0.9867 GB, free: 312 kB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.442e-06/1.321, allocations: 4 kB / 0.9867 GB, free: 308 kB / 0.7325 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.001219/1.322, allocations: 0.5145 MB / 0.9872 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.522e-05/1.322, allocations: 12.03 kB / 0.9872 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001015/1.322, allocations: 58.53 kB / 0.9873 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00157/1.324, allocations: 115.6 kB / 0.9874 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004949/1.324, allocations: 251.2 kB / 0.9876 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.989e-05/1.324, allocations: 16.39 kB / 0.9876 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.395e-05/1.324, allocations: 19.98 kB / 0.9876 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/1.325, allocations: 389.9 kB / 0.988 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/1.325, allocations: 0 / 0.988 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.307e-05/1.325, allocations: 4 kB / 0.988 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.998e-05/1.325, allocations: 27.98 kB / 0.988 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/1.327, allocations: 375.6 kB / 0.9884 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003235/1.33, allocations: 1.741 MB / 0.9901 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/1.331, allocations: 350.2 kB / 0.9904 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002047/1.331, allocations: 93.08 kB / 0.9905 GB, free: 12.06 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/1.331, allocations: 34.56 kB / 0.9906 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=25): time 2.965e-06/1.331, allocations: 0 / 0.9906 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of matching and sorting (n=35): time 0.01304/1.344, allocations: 2.067 MB / 0.9926 GB, free: 9.941 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.01e-05/1.344, allocations: 81.11 kB / 0.9927 GB, free: 9.844 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002675/1.345, allocations: 178.9 kB / 0.9928 GB, free: 9.656 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 7.043e-05/1.345, allocations: 33.7 kB / 0.9929 GB, free: 9.617 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/1.345, allocations: 156.3 kB / 0.993 GB, free: 9.461 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001612/1.345, allocations: 122.2 kB / 0.9931 GB, free: 9.34 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.89e-05/1.345, allocations: 8 kB / 0.9931 GB, free: 9.332 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001682/1.345, allocations: 330.8 kB / 0.9934 GB, free: 9 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008488/1.346, allocations: 255.8 kB / 0.9937 GB, free: 8.75 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009341/1.347, allocations: 345.4 kB / 0.994 GB, free: 8.379 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009369/1.348, allocations: 297.2 kB / 0.9943 GB, free: 8.09 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/1.348, allocations: 0 / 0.9943 GB, free: 8.09 MB / 0.7481 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.002174/1.35, allocations: 0.6546 MB / 0.9949 GB, free: 7.43 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005171/1.351, allocations: 0.8771 MB / 0.9958 GB, free: 6.484 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/1.351, allocations: 8 kB / 0.9958 GB, free: 6.477 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.621e-05/1.351, allocations: 4 kB / 0.9958 GB, free: 6.473 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001532/1.353, allocations: 159.7 kB / 0.996 GB, free: 6.316 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.166e-05/1.353, allocations: 7.953 kB / 0.996 GB, free: 6.309 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007545/1.353, allocations: 51.92 kB / 0.996 GB, free: 6.258 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.339e-05/1.353, allocations: 20.05 kB / 0.996 GB, free: 6.238 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/1.353, allocations: 7.938 kB / 0.996 GB, free: 6.23 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001928/1.355, allocations: 0.5932 MB / 0.9966 GB, free: 5.637 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/1.355, allocations: 0 / 0.9966 GB, free: 5.637 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/1.355, allocations: 8 kB / 0.9966 GB, free: 5.629 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001394/1.357, allocations: 148 kB / 0.9968 GB, free: 5.484 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/1.357, allocations: 4 kB / 0.9968 GB, free: 5.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006846/1.358, allocations: 55.92 kB / 0.9968 GB, free: 5.426 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-05/1.358, allocations: 16 kB / 0.9968 GB, free: 5.41 MB / 0.7481 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.0003652/1.358, allocations: 246.5 kB / 0.9971 GB, free: 5.16 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001528/1.358, allocations: 27.72 kB / 0.9971 GB, free: 5.133 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002395/1.361, allocations: 0.6769 MB / 0.9978 GB, free: 4.441 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/1.361, allocations: 8 kB / 0.9978 GB, free: 4.434 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/1.361, allocations: 0 / 0.9978 GB, free: 4.434 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/1.361, allocations: 3.984 kB / 0.9978 GB, free: 4.43 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003995/1.365, allocations: 1.383 MB / 0.9991 GB, free: 2.949 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/1.365, allocations: 4.25 kB / 0.9991 GB, free: 2.945 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/1.366, allocations: 127.8 kB / 0.9993 GB, free: 2.82 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-05/1.366, allocations: 4 kB / 0.9993 GB, free: 2.816 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.654e-05/1.366, allocations: 12 kB / 0.9993 GB, free: 2.805 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.035e-05/1.366, allocations: 4 kB / 0.9993 GB, free: 2.801 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/1.366, allocations: 4 kB / 0.9993 GB, free: 2.797 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0019/1.368, allocations: 0.8253 MB / 1 GB, free: 1.883 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003121/1.368, allocations: 148.8 kB / 1 GB, free: 1.719 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.364e-05/1.368, allocations: 11.95 kB / 1 GB, free: 1.707 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006237/1.369, allocations: 47.94 kB / 1 GB, free: 1.66 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/1.369, allocations: 27.91 kB / 1 GB, free: 1.633 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.778e-05/1.369, allocations: 12 kB / 1 GB, free: 1.621 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002118/1.369, allocations: 139.8 kB / 1 GB, free: 1.484 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.7e-07/1.369, allocations: 0 / 1 GB, free: 1.484 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001327/1.371, allocations: 144 kB / 1.001 GB, free: 1.344 MB / 0.7481 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.002677/1.373, allocations: 1.948 MB / 1.002 GB, free: 15.32 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002876/1.376, allocations: 0.8789 MB / 1.003 GB, free: 14.44 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/1.376, allocations: 0 / 1.003 GB, free: 14.44 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0008353/1.377, allocations: 268.1 kB / 1.004 GB, free: 14.18 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007012/1.378, allocations: 45.5 kB / 1.004 GB, free: 14.13 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007169/1.385, allocations: 3.598 MB / 1.007 GB, free: 10.42 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006365/1.386, allocations: 0.7848 MB / 1.008 GB, free: 9.613 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001066/1.387, allocations: 170.8 kB / 1.008 GB, free: 9.445 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003538/1.387, allocations: 83.41 kB / 1.008 GB, free: 9.363 MB / 0.7637 GB Notification: Performance of SimCode: time 1.963e-06/1.387, allocations: 0 / 1.008 GB, free: 9.363 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03254/1.42, allocations: 6.729 MB / 1.015 GB, free: 2.844 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003248/1.42, allocations: 201 kB / 1.015 GB, free: 2.605 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.339/4.759, allocations: 0 / 1.015 GB, free: 2.605 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter_res.mat does not exist to compare? outputFormat=mat