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.001181/0.001181, allocations: 109.4 kB / 15.69 MB, free: 128 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.001859/0.001859, allocations: 187.9 kB / 16.62 MB, free: 6.613 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.489/1.489, allocations: 205.1 MB / 222.5 MB, free: 4.562 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.739/1.739, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.002506/0.002507, allocations: 74.94 kB / 0.6718 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2218, allocations: 114.5 MB / 0.7836 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.005023/0.2269, allocations: 2.74 MB / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003531/0.2304, allocations: 2.039 MB / 0.7883 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001484/0.2306, allocations: 7.938 kB / 0.7883 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008/0.2315, allocations: 234.1 kB / 0.7885 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005056/0.232, allocations: 187.2 kB / 0.7887 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007144/0.2327, allocations: 279.2 kB / 0.789 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003778/0.2331, allocations: 322.8 kB / 0.7893 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003573/0.2335, allocations: 162.2 kB / 0.7894 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000186/0.2336, allocations: 123.6 kB / 0.7896 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002943/0.2339, allocations: 155.4 kB / 0.7897 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.759e-05/0.234, allocations: 20 kB / 0.7897 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005784/0.2346, allocations: 379.3 kB / 0.7901 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.699e-05/0.2347, allocations: 91.78 kB / 0.7902 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.2348, allocations: 119.4 kB / 0.7903 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005314/0.2353, allocations: 462.7 kB / 0.7907 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.2354, allocations: 3.984 kB / 0.7907 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2354, allocations: 4 kB / 0.7907 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.2354, allocations: 4 kB / 0.7907 GB, free: 5.93 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.0009229/0.2363, allocations: 0.5459 MB / 0.7913 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.2364, allocations: 12.03 kB / 0.7913 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.788e-05/0.2364, allocations: 54.73 kB / 0.7913 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007349/0.2372, allocations: 108.5 kB / 0.7914 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003057/0.2375, allocations: 266.9 kB / 0.7917 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.2375, allocations: 12.81 kB / 0.7917 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.922e-05/0.2376, allocations: 23.94 kB / 0.7917 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006176/0.2382, allocations: 385.9 kB / 0.7921 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.2382, allocations: 0 / 0.7921 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.867e-05/0.2382, allocations: 11.94 kB / 0.7921 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.172e-05/0.2383, allocations: 23.97 kB / 0.7921 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006228/0.2389, allocations: 359.6 kB / 0.7925 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001917/0.2408, allocations: 1.726 MB / 0.7942 GB, free: 2.16 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006454/0.2415, allocations: 339.8 kB / 0.7945 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000305/0.2418, allocations: 189.6 kB / 0.7947 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001559/0.242, allocations: 89.08 kB / 0.7948 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.242, allocations: 38.56 kB / 0.7948 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=25): time 2.204e-06/0.242, allocations: 0 / 0.7948 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of matching and sorting (n=35): time 0.007181/0.2492, allocations: 1.913 MB / 0.7967 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/0.2493, allocations: 85.05 kB / 0.7967 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001901/0.2495, allocations: 180.3 kB / 0.7969 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.071e-05/0.2496, allocations: 37.7 kB / 0.7969 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.2497, allocations: 152.3 kB / 0.7971 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.2498, allocations: 118.3 kB / 0.7972 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001412/0.2499, allocations: 81.58 kB / 0.7973 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.2501, allocations: 330.8 kB / 0.7976 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004458/0.2506, allocations: 252.7 kB / 0.7978 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004901/0.2511, allocations: 337.5 kB / 0.7982 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009678/0.252, allocations: 0.5995 MB / 0.7987 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2521, allocations: 0 / 0.7987 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001174/0.2532, allocations: 0.6389 MB / 0.7994 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.2533, allocations: 8 kB / 0.7994 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.2533, allocations: 0 / 0.7994 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.2533, allocations: 7.984 kB / 0.7994 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008586/0.2542, allocations: 143.8 kB / 0.7995 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.2542, allocations: 7.984 kB / 0.7995 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004013/0.2546, allocations: 52.11 kB / 0.7996 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.003e-05/0.2546, allocations: 23.98 kB / 0.7996 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005449/0.2552, allocations: 356.6 kB / 0.7999 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004974/0.2557, allocations: 317.2 kB / 0.8002 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009111/0.2566, allocations: 0.5627 MB / 0.8008 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.669e-06/0.2566, allocations: 4 kB / 0.8008 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001098/0.2577, allocations: 0.622 MB / 0.8014 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.2578, allocations: 4 kB / 0.8014 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.2578, allocations: 4 kB / 0.8014 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.244e-06/0.2578, allocations: 4 kB / 0.8014 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008044/0.2586, allocations: 152 kB / 0.8016 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.2586, allocations: 4 kB / 0.8016 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003797/0.259, allocations: 51.97 kB / 0.8016 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.654e-05/0.259, allocations: 15.98 kB / 0.8016 GB, free: 10.25 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.0001521/0.2592, allocations: 205.5 kB / 0.8018 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.163e-05/0.2593, allocations: 19.81 kB / 0.8018 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001306/0.2606, allocations: 0.6684 MB / 0.8025 GB, free: 9.344 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.2606, allocations: 7.938 kB / 0.8025 GB, free: 9.336 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.2606, allocations: 0 / 0.8025 GB, free: 9.336 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.802e-06/0.2606, allocations: 4 kB / 0.8025 GB, free: 9.332 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002067/0.2627, allocations: 1.367 MB / 0.8038 GB, free: 7.867 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.2627, allocations: 0 / 0.8038 GB, free: 7.867 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005678/0.2633, allocations: 119.8 kB / 0.804 GB, free: 7.75 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.894e-06/0.2633, allocations: 7.938 kB / 0.804 GB, free: 7.742 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.971e-05/0.2634, allocations: 11.94 kB / 0.804 GB, free: 7.73 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-06/0.2634, allocations: 7.984 kB / 0.804 GB, free: 7.723 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.2634, allocations: 8.25 kB / 0.804 GB, free: 7.715 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009727/0.2644, allocations: 0.7031 MB / 0.8047 GB, free: 6.973 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001544/0.2645, allocations: 140.7 kB / 0.8048 GB, free: 6.816 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.081e-05/0.2646, allocations: 15.92 kB / 0.8048 GB, free: 6.801 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000319/0.2649, allocations: 35.95 kB / 0.8049 GB, free: 6.766 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.196e-05/0.265, allocations: 27.97 kB / 0.8049 GB, free: 6.738 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.793e-05/0.265, allocations: 15.98 kB / 0.8049 GB, free: 6.723 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001278/0.2652, allocations: 144.9 kB / 0.805 GB, free: 6.582 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2652, allocations: 0 / 0.805 GB, free: 6.582 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006385/0.2658, allocations: 144 kB / 0.8052 GB, free: 6.441 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.001404/0.2672, allocations: 1.287 MB / 0.8064 GB, free: 5.102 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001664/0.2689, allocations: 0.8549 MB / 0.8073 GB, free: 4.246 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/0.2689, allocations: 4 kB / 0.8073 GB, free: 4.242 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004432/0.2694, allocations: 252.8 kB / 0.8075 GB, free: 3.996 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005695/0.27, allocations: 47.78 kB / 0.8076 GB, free: 3.949 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005324/0.2753, allocations: 3.792 MB / 0.8113 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003741/0.2757, allocations: 0.7877 MB / 0.812 GB, free: 15.17 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005052/0.2762, allocations: 174.7 kB / 0.8122 GB, free: 15 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001975/0.2764, allocations: 79.41 kB / 0.8123 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of SimCode: time 1.082e-06/0.2764, allocations: 0 / 0.8123 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0243/0.3007, allocations: 7.245 MB / 0.8194 GB, free: 7.809 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.668/7.968, allocations: 7.719 kB / 0.8194 GB, free: 7.801 MB / 0.6387 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)