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.001798/0.001798, 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.001594/0.001594, allocations: 198.4 kB / 16.54 MB, free: 6.672 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.724/1.724, allocations: 205.1 MB / 222.4 MB, free: 4.621 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.865/1.865, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001495/0.001495, allocations: 66.89 kB / 0.6716 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.3013, 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.005836/0.3072, allocations: 2.748 MB / 0.7862 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00362/0.3109, allocations: 2.035 MB / 0.7882 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002188/0.3111, allocations: 0 / 0.7882 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009589/0.3121, allocations: 235 kB / 0.7884 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006319/0.3128, allocations: 195.2 kB / 0.7886 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009373/0.3137, allocations: 271.2 kB / 0.7888 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005221/0.3143, allocations: 319 kB / 0.7891 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004344/0.3147, allocations: 162.2 kB / 0.7893 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000292/0.315, allocations: 127.6 kB / 0.7894 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004/0.3154, allocations: 151.5 kB / 0.7895 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.107e-05/0.3155, allocations: 16 kB / 0.7896 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008138/0.3163, allocations: 379.3 kB / 0.7899 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001645/0.3165, allocations: 99.66 kB / 0.79 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001556/0.3167, allocations: 115.4 kB / 0.7901 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008812/0.3175, allocations: 462.7 kB / 0.7906 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.3176, allocations: 4 kB / 0.7906 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3176, allocations: 0 / 0.7906 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.3176, allocations: 0 / 0.7906 GB, free: 6.082 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.00112/0.3187, allocations: 0.5536 MB / 0.7911 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/0.3188, allocations: 8.031 kB / 0.7911 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.228e-05/0.3189, allocations: 58.67 kB / 0.7912 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008435/0.3197, allocations: 112.5 kB / 0.7913 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000404/0.3201, allocations: 260.5 kB / 0.7915 GB, free: 5 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.3202, allocations: 16.81 kB / 0.7916 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.956e-05/0.3202, allocations: 19.94 kB / 0.7916 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007336/0.321, allocations: 381.9 kB / 0.7919 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.321, allocations: 4 kB / 0.7919 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.707e-05/0.3211, allocations: 8 kB / 0.7919 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.125e-05/0.3211, allocations: 31.75 kB / 0.792 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007436/0.3219, allocations: 355.6 kB / 0.7923 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002395/0.3243, allocations: 1.726 MB / 0.794 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006929/0.325, allocations: 343.8 kB / 0.7943 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003452/0.3253, allocations: 185.6 kB / 0.7945 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001732/0.3255, allocations: 97.08 kB / 0.7946 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.3256, allocations: 30.56 kB / 0.7946 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=25): time 2.745e-06/0.3256, allocations: 8 kB / 0.7946 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of matching and sorting (n=35): time 0.007579/0.3332, allocations: 1.913 MB / 0.7965 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.401e-05/0.3333, allocations: 81.11 kB / 0.7966 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002313/0.3336, allocations: 180.3 kB / 0.7968 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.249e-05/0.3336, allocations: 29.7 kB / 0.7968 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.3337, allocations: 156.3 kB / 0.7969 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000133/0.3339, allocations: 114.3 kB / 0.797 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001763/0.3341, allocations: 85.58 kB / 0.7971 GB, free: 15 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.3342, allocations: 330.8 kB / 0.7974 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005086/0.3347, allocations: 252.7 kB / 0.7977 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005875/0.3353, allocations: 337.5 kB / 0.798 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/0.3365, allocations: 0.5994 MB / 0.7986 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.3365, allocations: 0 / 0.7986 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001457/0.338, allocations: 0.6389 MB / 0.7992 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.405e-05/0.338, allocations: 4 kB / 0.7992 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.805e-05/0.338, allocations: 4 kB / 0.7992 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.233e-05/0.3381, allocations: 4 kB / 0.7992 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009856/0.3391, allocations: 152.1 kB / 0.7994 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.619e-05/0.3391, allocations: 7.938 kB / 0.7994 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004642/0.3396, allocations: 55.86 kB / 0.7994 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.168e-05/0.3397, allocations: 15.98 kB / 0.7994 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006119/0.3403, allocations: 356 kB / 0.7998 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005045/0.3408, allocations: 321.3 kB / 0.8001 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001013/0.3418, allocations: 0.5627 MB / 0.8006 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.807e-06/0.3418, allocations: 0 / 0.8006 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001291/0.3431, allocations: 0.6222 MB / 0.8012 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.3432, allocations: 12.06 kB / 0.8013 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.3432, allocations: 0 / 0.8013 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.3432, allocations: 4 kB / 0.8013 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008226/0.344, allocations: 139.8 kB / 0.8014 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.468e-05/0.344, allocations: 4 kB / 0.8014 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000418/0.3445, allocations: 55.91 kB / 0.8015 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.562e-05/0.3445, allocations: 15.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.0002007/0.3447, allocations: 213.4 kB / 0.8017 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.3448, allocations: 19.8 kB / 0.8017 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001388/0.3462, allocations: 0.6724 MB / 0.8023 GB, free: 9.484 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.3463, allocations: 4 kB / 0.8023 GB, free: 9.48 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.3463, allocations: 0 / 0.8023 GB, free: 9.48 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.3463, allocations: 0 / 0.8023 GB, free: 9.48 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002405/0.3487, allocations: 1.367 MB / 0.8037 GB, free: 8.016 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.3487, allocations: 4.25 kB / 0.8037 GB, free: 8.012 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005778/0.3493, allocations: 123.8 kB / 0.8038 GB, free: 7.891 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.834e-06/0.3493, allocations: 4 kB / 0.8038 GB, free: 7.887 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.433e-05/0.3494, allocations: 11.94 kB / 0.8038 GB, free: 7.875 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.538e-06/0.3494, allocations: 7.984 kB / 0.8038 GB, free: 7.867 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3494, allocations: 0 / 0.8038 GB, free: 7.867 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/0.3504, allocations: 0.7107 MB / 0.8045 GB, free: 7.117 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001658/0.3506, allocations: 140.7 kB / 0.8047 GB, free: 6.961 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.022e-05/0.3507, allocations: 15.92 kB / 0.8047 GB, free: 6.945 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003354/0.351, allocations: 35.95 kB / 0.8047 GB, free: 6.91 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.3511, allocations: 27.91 kB / 0.8047 GB, free: 6.883 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.493e-05/0.3512, allocations: 16 kB / 0.8047 GB, free: 6.867 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001525/0.3513, allocations: 152.9 kB / 0.8049 GB, free: 6.719 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3513, allocations: 4 kB / 0.8049 GB, free: 6.715 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007111/0.3521, allocations: 143.9 kB / 0.805 GB, free: 6.574 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.001523/0.3536, allocations: 1.283 MB / 0.8063 GB, free: 5.238 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001816/0.3554, allocations: 0.8952 MB / 0.8072 GB, free: 4.344 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.3554, allocations: 4.062 kB / 0.8072 GB, free: 4.34 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000474/0.3559, allocations: 247.7 kB / 0.8074 GB, free: 4.098 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006026/0.3565, allocations: 50.97 kB / 0.8075 GB, free: 4.051 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005866/0.3624, allocations: 3.794 MB / 0.8112 GB, free: 80 kB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004156/0.3629, allocations: 0.7838 MB / 0.8119 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005651/0.3634, allocations: 166.8 kB / 0.8121 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002259/0.3637, allocations: 83.39 kB / 0.8122 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of SimCode: time 1.142e-06/0.3637, allocations: 0 / 0.8122 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03052/0.3942, allocations: 7.234 MB / 0.8192 GB, free: 7.914 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.196/8.59, allocations: 11.58 kB / 0.8192 GB, free: 7.902 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-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)