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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 191.8 kB / 16.53 MB, free: 6.391 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.181/1.181, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.538/1.538, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001398/0.001398, allocations: 79.48 kB / 0.6716 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.1946, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.003772/0.1984, allocations: 2.743 MB / 0.7862 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002652/0.2011, allocations: 2.039 MB / 0.7882 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.874e-05/0.2012, allocations: 7.938 kB / 0.7882 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007036/0.2019, allocations: 223.1 kB / 0.7884 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003456/0.2023, allocations: 195.2 kB / 0.7886 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005102/0.2028, allocations: 271.3 kB / 0.7888 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00029/0.2031, allocations: 319 kB / 0.7891 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002585/0.2034, allocations: 162.2 kB / 0.7893 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001472/0.2035, allocations: 127.6 kB / 0.7894 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002239/0.2038, allocations: 151.5 kB / 0.7895 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.861e-05/0.2038, allocations: 19.98 kB / 0.7896 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004763/0.2043, allocations: 379.3 kB / 0.7899 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.136e-05/0.2044, allocations: 95.77 kB / 0.79 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.2045, allocations: 119.4 kB / 0.7901 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004629/0.205, allocations: 462.7 kB / 0.7906 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.205, allocations: 0 / 0.7906 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.292e-06/0.205, allocations: 0 / 0.7906 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.205, allocations: 3.938 kB / 0.7906 GB, free: 6.086 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0008039/0.2058, allocations: 0.5536 MB / 0.7911 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.2058, allocations: 8.031 kB / 0.7911 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.359e-05/0.2059, allocations: 58.73 kB / 0.7912 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006835/0.2066, allocations: 108.5 kB / 0.7913 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002665/0.2069, allocations: 262.9 kB / 0.7915 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.2069, allocations: 12.81 kB / 0.7915 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.776e-05/0.2069, allocations: 23.94 kB / 0.7916 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005711/0.2075, allocations: 381.9 kB / 0.7919 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.2075, allocations: 0 / 0.7919 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.196e-05/0.2076, allocations: 12 kB / 0.7919 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.766e-05/0.2076, allocations: 23.77 kB / 0.792 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006088/0.2082, allocations: 363.6 kB / 0.7923 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001732/0.21, allocations: 1.722 MB / 0.794 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006298/0.2106, allocations: 352 kB / 0.7943 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002937/0.2109, allocations: 185.6 kB / 0.7945 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000143/0.2111, allocations: 89.09 kB / 0.7946 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.2111, allocations: 38.56 kB / 0.7946 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=25): time 2.565e-06/0.2111, allocations: 3.984 kB / 0.7946 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of matching and sorting (n=35): time 0.006941/0.2181, allocations: 1.913 MB / 0.7965 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.2181, allocations: 81.11 kB / 0.7966 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.2183, allocations: 180.3 kB / 0.7967 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.105e-05/0.2183, allocations: 29.7 kB / 0.7968 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 8.041e-05/0.2184, allocations: 160.2 kB / 0.7969 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.988e-05/0.2185, allocations: 118.2 kB / 0.797 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/0.2187, allocations: 81.59 kB / 0.7971 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.924e-05/0.2188, allocations: 334.8 kB / 0.7974 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004356/0.2192, allocations: 244.7 kB / 0.7977 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004777/0.2197, allocations: 341.5 kB / 0.798 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009364/0.2206, allocations: 0.5917 MB / 0.7986 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2207, allocations: 4 kB / 0.7986 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001082/0.2217, allocations: 0.6427 MB / 0.7992 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.2218, allocations: 8 kB / 0.7992 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.2218, allocations: 288 / 0.7992 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.2218, allocations: 12 kB / 0.7992 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008577/0.2227, allocations: 147.8 kB / 0.7994 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.2227, allocations: 4 kB / 0.7994 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003937/0.2231, allocations: 47.92 kB / 0.7994 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.854e-05/0.2231, allocations: 16 kB / 0.7994 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004956/0.2236, allocations: 356.6 kB / 0.7998 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004461/0.2241, allocations: 321.2 kB / 0.8001 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000866/0.225, allocations: 0.5705 MB / 0.8006 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.492e-06/0.225, allocations: 3.938 kB / 0.8006 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001023/0.226, allocations: 0.6144 MB / 0.8012 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.226, allocations: 8 kB / 0.8012 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.746e-06/0.226, allocations: 0 / 0.8012 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.593e-06/0.226, allocations: 4 kB / 0.8013 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007895/0.2268, allocations: 155.7 kB / 0.8014 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.2269, allocations: 4 kB / 0.8014 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003818/0.2272, allocations: 48.12 kB / 0.8015 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.513e-05/0.2273, allocations: 19.98 kB / 0.8015 GB, free: 10.4 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001295/0.2274, allocations: 201.5 kB / 0.8017 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.484e-05/0.2275, allocations: 19.81 kB / 0.8017 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001228/0.2287, allocations: 0.6723 MB / 0.8023 GB, free: 9.496 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.2288, allocations: 4 kB / 0.8023 GB, free: 9.492 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.2288, allocations: 0 / 0.8023 GB, free: 9.492 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.2288, allocations: 3.984 kB / 0.8023 GB, free: 9.488 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001977/0.2308, allocations: 1.363 MB / 0.8037 GB, free: 8.027 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.2308, allocations: 4 kB / 0.8037 GB, free: 8.023 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005474/0.2313, allocations: 123.8 kB / 0.8038 GB, free: 7.902 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.2313, allocations: 0 / 0.8038 GB, free: 7.902 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.669e-05/0.2314, allocations: 15.94 kB / 0.8038 GB, free: 7.887 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.2314, allocations: 7.938 kB / 0.8038 GB, free: 7.879 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.2314, allocations: 3.984 kB / 0.8038 GB, free: 7.875 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009101/0.2323, allocations: 0.7108 MB / 0.8045 GB, free: 7.125 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/0.2324, allocations: 144.7 kB / 0.8047 GB, free: 6.965 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.794e-05/0.2325, allocations: 11.94 kB / 0.8047 GB, free: 6.953 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003056/0.2328, allocations: 39.94 kB / 0.8047 GB, free: 6.914 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.205e-05/0.2329, allocations: 27.97 kB / 0.8047 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.609e-05/0.2329, allocations: 16 kB / 0.8047 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001106/0.233, allocations: 140.9 kB / 0.8049 GB, free: 6.734 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.233, allocations: 0 / 0.8049 GB, free: 6.734 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005665/0.2336, allocations: 144 kB / 0.805 GB, free: 6.594 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001219/0.2348, allocations: 1.291 MB / 0.8063 GB, free: 5.25 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001482/0.2363, allocations: 0.8912 MB / 0.8072 GB, free: 4.359 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2364, allocations: 3.938 kB / 0.8072 GB, free: 4.355 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004037/0.2368, allocations: 255.7 kB / 0.8074 GB, free: 4.105 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004821/0.2373, allocations: 52.3 kB / 0.8074 GB, free: 4.059 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004517/0.2418, allocations: 3.787 MB / 0.8111 GB, free: 92 kB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.2421, allocations: 0.7838 MB / 0.8119 GB, free: 15.28 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.0004653/0.2426, allocations: 174.8 kB / 0.8121 GB, free: 15.11 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001815/0.2428, allocations: 83.41 kB / 0.8122 GB, free: 15.03 MB / 0.6388 GB Notification: Performance of SimCode: time 2.2e-07/0.2428, allocations: 0 / 0.8122 GB, free: 15.03 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5133/0.7561, allocations: 7.229 MB / 0.8192 GB, free: 7.922 MB / 0.6388 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.587/8.344, allocations: 10.89 kB / 0.8192 GB, free: 7.914 MB / 0.6388 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/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)