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.0008301/0.0008301, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.00086/0.0008604, allocations: 172.7 kB / 15.95 MB, free: 208 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.419/1.419, allocations: 223.3 MB / 240 MB, free: 5.234 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.616/2.616, allocations: 409.4 MB / 0.684 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000343/0.000343, allocations: 8 kB / 0.8378 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7011/0.7014, allocations: 146.8 MB / 0.9811 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.003279/0.7047, allocations: 2.356 MB / 0.9834 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002715/0.7075, allocations: 1.868 MB / 0.9853 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.7076, allocations: 7.938 kB / 0.9853 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001593/0.7078, allocations: 27.78 kB / 0.9853 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004463/0.7083, allocations: 143.3 kB / 0.9854 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005588/0.7088, allocations: 207.5 kB / 0.9856 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000391/0.7092, allocations: 370.9 kB / 0.986 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005862/0.7098, allocations: 350.5 kB / 0.9863 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001679/0.71, allocations: 103.6 kB / 0.9864 GB, free: 0.8281 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002725/0.7103, allocations: 147.5 kB / 0.9866 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.805e-05/0.7103, allocations: 8 kB / 0.9866 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000446/0.7108, allocations: 259.6 kB / 0.9868 GB, free: 432 kB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.7109, allocations: 83.78 kB / 0.9869 GB, free: 348 kB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.531e-05/0.7109, allocations: 61.58 kB / 0.987 GB, free: 280 kB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003908/0.7113, allocations: 341.5 kB / 0.9873 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.7114, allocations: 11.98 kB / 0.9873 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.894e-06/0.7114, allocations: 0 / 0.9873 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.7114, allocations: 0 / 0.9873 GB, free: 15.93 MB / 0.7481 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.0009137/0.7123, allocations: 0.5145 MB / 0.9878 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.7124, allocations: 8.031 kB / 0.9878 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.092e-05/0.7124, allocations: 58.55 kB / 0.9879 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000726/0.7132, allocations: 111.6 kB / 0.988 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003913/0.7136, allocations: 255.3 kB / 0.9882 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/0.7136, allocations: 16.39 kB / 0.9882 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.19e-05/0.7137, allocations: 19.94 kB / 0.9882 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000663/0.7143, allocations: 386 kB / 0.9886 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.7144, allocations: 3.938 kB / 0.9886 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.806e-05/0.7144, allocations: 4 kB / 0.9886 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.723e-05/0.7145, allocations: 27.98 kB / 0.9886 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006492/0.7151, allocations: 371.7 kB / 0.989 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001881/0.717, allocations: 1.741 MB / 0.9907 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006149/0.7176, allocations: 348.9 kB / 0.991 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003002/0.7179, allocations: 189.6 kB / 0.9912 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001581/0.7181, allocations: 85.09 kB / 0.9913 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.7181, allocations: 38.56 kB / 0.9913 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=25): time 1.683e-06/0.7182, allocations: 0 / 0.9913 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of matching and sorting (n=35): time 0.006585/0.7247, allocations: 2.068 MB / 0.9934 GB, free: 9.391 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/0.7248, allocations: 85.11 kB / 0.9934 GB, free: 9.289 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.725, allocations: 179.5 kB / 0.9936 GB, free: 9.102 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.671e-05/0.7251, allocations: 29.7 kB / 0.9936 GB, free: 9.066 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.7252, allocations: 156.3 kB / 0.9938 GB, free: 8.91 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 9.846e-05/0.7253, allocations: 122.1 kB / 0.9939 GB, free: 8.789 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.953e-05/0.7253, allocations: 8 kB / 0.9939 GB, free: 8.781 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.7255, allocations: 334.8 kB / 0.9942 GB, free: 8.445 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000457/0.7259, allocations: 251.8 kB / 0.9945 GB, free: 8.199 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005018/0.7264, allocations: 349.4 kB / 0.9948 GB, free: 7.824 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005015/0.7269, allocations: 293.3 kB / 0.9951 GB, free: 7.539 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.727, allocations: 0 / 0.9951 GB, free: 7.539 MB / 0.7481 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001122/0.7281, allocations: 0.6585 MB / 0.9957 GB, free: 6.875 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001163/0.7282, allocations: 164.8 kB / 0.9959 GB, free: 6.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.7282, allocations: 4 kB / 0.9959 GB, free: 6.676 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.7282, allocations: 4 kB / 0.9959 GB, free: 6.672 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008063/0.7291, allocations: 147.8 kB / 0.996 GB, free: 6.527 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.7291, allocations: 15.86 kB / 0.996 GB, free: 6.512 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003717/0.7295, allocations: 55.94 kB / 0.9961 GB, free: 6.457 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-05/0.7295, allocations: 19.98 kB / 0.9961 GB, free: 6.438 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 7.845e-06/0.7295, allocations: 4 kB / 0.9961 GB, free: 6.434 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001033/0.7306, allocations: 0.5817 MB / 0.9967 GB, free: 5.852 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.7306, allocations: 4 kB / 0.9967 GB, free: 5.848 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.68e-06/0.7306, allocations: 4 kB / 0.9967 GB, free: 5.844 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007483/0.7313, allocations: 155.7 kB / 0.9968 GB, free: 5.691 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.7314, allocations: 11.94 kB / 0.9969 GB, free: 5.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003341/0.7317, allocations: 52.03 kB / 0.9969 GB, free: 5.629 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.852e-05/0.7318, allocations: 19.98 kB / 0.9969 GB, free: 5.609 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.0002093/0.732, allocations: 241 kB / 0.9972 GB, free: 5.363 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.452e-05/0.732, allocations: 23.75 kB / 0.9972 GB, free: 5.34 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001293/0.7333, allocations: 0.6846 MB / 0.9978 GB, free: 4.641 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.7334, allocations: 4 kB / 0.9978 GB, free: 4.637 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.7334, allocations: 3.953 kB / 0.9979 GB, free: 4.633 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.7334, allocations: 3.984 kB / 0.9979 GB, free: 4.629 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002077/0.7355, allocations: 1.379 MB / 0.9992 GB, free: 3.152 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.7355, allocations: 7.984 kB / 0.9992 GB, free: 3.145 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005496/0.736, allocations: 128 kB / 0.9993 GB, free: 3.02 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.7361, allocations: 8 kB / 0.9993 GB, free: 3.012 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.152e-05/0.7361, allocations: 8 kB / 0.9993 GB, free: 3.004 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.131e-06/0.7361, allocations: 7.938 kB / 0.9994 GB, free: 2.996 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.7361, allocations: 0 / 0.9994 GB, free: 2.996 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009711/0.7371, allocations: 0.73 MB / 1 GB, free: 2.227 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/0.7373, allocations: 148.7 kB / 1 GB, free: 2.062 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.608e-05/0.7373, allocations: 11.98 kB / 1 GB, free: 2.051 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003104/0.7376, allocations: 39.95 kB / 1 GB, free: 2.012 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.562e-05/0.7377, allocations: 27.97 kB / 1 GB, free: 1.984 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-05/0.7378, allocations: 19.98 kB / 1 GB, free: 1.965 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001238/0.7379, allocations: 139.8 kB / 1 GB, free: 1.828 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7379, allocations: 0 / 1 GB, free: 1.828 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006277/0.7385, allocations: 144 kB / 1.001 GB, free: 1.688 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.001341/0.7399, allocations: 1.307 MB / 1.002 GB, free: 340 kB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001508/0.7414, allocations: 0.8829 MB / 1.003 GB, free: 15.45 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.7414, allocations: 0 / 1.003 GB, free: 15.45 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0004364/0.7419, allocations: 260.7 kB / 1.003 GB, free: 15.19 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004985/0.7424, allocations: 42.8 kB / 1.003 GB, free: 15.15 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003466/0.7458, allocations: 2.251 MB / 1.005 GB, free: 12.8 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/0.7462, allocations: 0.7798 MB / 1.006 GB, free: 12 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0005477/0.7468, allocations: 166.8 kB / 1.006 GB, free: 11.83 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002004/0.747, allocations: 83.41 kB / 1.006 GB, free: 11.75 MB / 0.7637 GB Notification: Performance of SimCode: time 3.51e-07/0.747, allocations: 0 / 1.006 GB, free: 11.75 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01823/0.7652, allocations: 6.747 MB / 1.013 GB, free: 5.211 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001728/0.7654, allocations: 203.5 kB / 1.013 GB, free: 4.977 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.913/2.679, allocations: 0 / 1.013 GB, free: 4.977 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