Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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.ACDCConverter,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008556/0.0008556, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004805/0.004805, allocations: 168.4 kB / 16.26 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.18/1.18, allocations: 205.4 MB / 222.4 MB, free: 5.785 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.546/1.546, allocations: 292.7 MB / 0.5502 GB, free: 14.49 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004917/0.0004916, allocations: 13.62 kB / 0.6744 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1733, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.003443/0.1768, allocations: 3.019 MB / 0.791 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002861/0.1797, allocations: 2.18 MB / 0.7931 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001335/0.1799, allocations: 4 kB / 0.7931 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001592/0.18, allocations: 39.64 kB / 0.7931 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004987/0.1805, allocations: 223.1 kB / 0.7933 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005796/0.1811, allocations: 255.4 kB / 0.7936 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004858/0.1816, allocations: 0.5375 MB / 0.7941 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004592/0.1821, allocations: 333.2 kB / 0.7944 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001938/0.1823, allocations: 127.5 kB / 0.7945 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000295/0.1826, allocations: 171.3 kB / 0.7947 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.157e-05/0.1826, allocations: 12 kB / 0.7947 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006541/0.1833, allocations: 0.4951 MB / 0.7952 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.193e-05/0.1834, allocations: 87.72 kB / 0.7953 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.1835, allocations: 157 kB / 0.7954 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005688/0.1841, allocations: 0.5179 MB / 0.7959 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.1841, allocations: 0 / 0.7959 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1841, allocations: 0 / 0.7959 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.1841, allocations: 0 / 0.7959 GB, free: 3.273 MB / 0.6075 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.0007745/0.1849, allocations: 0.5653 MB / 0.7965 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.185, allocations: 8.031 kB / 0.7965 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.369e-05/0.185, allocations: 62.73 kB / 0.7966 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008068/0.1858, allocations: 120.4 kB / 0.7967 GB, free: 2.465 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002822/0.1861, allocations: 275.7 kB / 0.7969 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.1862, allocations: 12.81 kB / 0.797 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.03e-05/0.1862, allocations: 24.36 kB / 0.797 GB, free: 2.117 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006168/0.1868, allocations: 419.7 kB / 0.7974 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.1868, allocations: 0 / 0.7974 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.201e-05/0.1869, allocations: 19.98 kB / 0.7974 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-05/0.1869, allocations: 36.47 kB / 0.7974 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005892/0.1875, allocations: 357.9 kB / 0.7978 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002098/0.1896, allocations: 2.062 MB / 0.7998 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007058/0.1904, allocations: 353.1 kB / 0.8001 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003753/0.1907, allocations: 197.6 kB / 0.8003 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 9.471e-05/0.1908, allocations: 93.02 kB / 0.8004 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.1909, allocations: 38.56 kB / 0.8004 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=22): time 1.392e-06/0.1909, allocations: 0 / 0.8004 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of matching and sorting (n=34): time 0.004817/0.1957, allocations: 1.754 MB / 0.8022 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.1958, allocations: 85.05 kB / 0.8022 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002086/0.196, allocations: 241 kB / 0.8025 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.001e-05/0.196, allocations: 29.7 kB / 0.8025 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 9.639e-05/0.1961, allocations: 188 kB / 0.8027 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.737e-05/0.1962, allocations: 110.3 kB / 0.8028 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.792e-05/0.1963, allocations: 41.69 kB / 0.8028 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.1964, allocations: 334.8 kB / 0.8031 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003689/0.1967, allocations: 200.8 kB / 0.8033 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004179/0.1972, allocations: 317 kB / 0.8036 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008115/0.198, allocations: 0.5325 MB / 0.8041 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.198, allocations: 4 kB / 0.8042 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001212/0.1992, allocations: 0.6759 MB / 0.8048 GB, free: 9.629 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.724e-05/0.1993, allocations: 180.2 kB / 0.805 GB, free: 9.406 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1993, allocations: 4 kB / 0.805 GB, free: 9.402 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004422/0.1998, allocations: 147.3 kB / 0.8051 GB, free: 9.246 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003749/0.2002, allocations: 99.88 kB / 0.8052 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002454/0.2027, allocations: 3.95 MB / 0.8091 GB, free: 4.883 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003093/0.203, allocations: 43.86 kB / 0.8091 GB, free: 4.84 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.091e-05/0.203, allocations: 16 kB / 0.8091 GB, free: 4.824 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.202e-06/0.203, allocations: 4 kB / 0.8091 GB, free: 4.82 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001139/0.2042, allocations: 0.6277 MB / 0.8098 GB, free: 4.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.2042, allocations: 7.984 kB / 0.8098 GB, free: 4.172 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003492/0.2045, allocations: 143.5 kB / 0.8099 GB, free: 4.02 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003674/0.2049, allocations: 99.81 kB / 0.81 GB, free: 3.922 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005603/0.2055, allocations: 1.105 MB / 0.8111 GB, free: 2.766 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000279/0.2058, allocations: 43.95 kB / 0.8111 GB, free: 2.723 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.844e-05/0.2058, allocations: 16 kB / 0.8111 GB, free: 2.707 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001829/0.206, allocations: 249.8 kB / 0.8114 GB, free: 2.453 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.155e-05/0.2061, allocations: 35.56 kB / 0.8114 GB, free: 2.418 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001173/0.2073, allocations: 0.6365 MB / 0.812 GB, free: 1.766 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.2073, allocations: 4 kB / 0.812 GB, free: 1.762 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.2073, allocations: 0 / 0.812 GB, free: 1.762 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.2073, allocations: 0 / 0.812 GB, free: 1.762 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001947/0.2092, allocations: 1.341 MB / 0.8133 GB, free: 316 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.451e-06/0.2093, allocations: 12.25 kB / 0.8133 GB, free: 304 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002483/0.2095, allocations: 67.83 kB / 0.8134 GB, free: 236 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003867/0.2099, allocations: 147.3 kB / 0.8136 GB, free: 76 kB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.564e-05/0.21, allocations: 15.98 kB / 0.8136 GB, free: 60 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002346/0.2123, allocations: 3.961 MB / 0.8174 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.2123, allocations: 7.969 kB / 0.8174 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.2134, allocations: 0.7849 MB / 0.8182 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.2136, allocations: 148.7 kB / 0.8184 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.657e-05/0.2136, allocations: 11.94 kB / 0.8184 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002932/0.2139, allocations: 35.97 kB / 0.8184 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.239e-05/0.214, allocations: 27.95 kB / 0.8184 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.348e-05/0.214, allocations: 20 kB / 0.8184 GB, free: 10.67 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000136/0.2141, allocations: 168.5 kB / 0.8186 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2142, allocations: 0 / 0.8186 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006315/0.2148, allocations: 159.9 kB / 0.8188 GB, free: 10.35 MB / 0.6387 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001397/0.2162, allocations: 1.373 MB / 0.8201 GB, free: 8.91 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001777/0.218, allocations: 1.197 MB / 0.8213 GB, free: 7.645 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.218, allocations: 4.125 kB / 0.8213 GB, free: 7.641 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006837/0.2187, allocations: 0.4898 MB / 0.8218 GB, free: 7.125 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00056/0.2193, allocations: 56.39 kB / 0.8218 GB, free: 7.07 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005103/0.2244, allocations: 4.084 MB / 0.8258 GB, free: 2.75 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.2247, allocations: 0.8084 MB / 0.8266 GB, free: 1.914 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003045/0.225, allocations: 114.9 kB / 0.8267 GB, free: 1.801 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.2252, allocations: 87.41 kB / 0.8268 GB, free: 1.715 MB / 0.6387 GB Notification: Performance of SimCode: time 2.8e-07/0.2252, allocations: 3.938 kB / 0.8268 GB, free: 1.711 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.915/5.14, allocations: 8.315 MB / 0.8349 GB, free: 9.621 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002268/5.14, allocations: 259.8 kB / 0.8351 GB, free: 9.363 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.706/6.846, allocations: 3.375 kB / 0.8352 GB, free: 9.363 MB / 0.6544 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1)