Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,fileNamePrefix="IBPSA_latest_IBPSA_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.001027/0.001027, allocations: 101.6 kB / 16.27 MB, free: 5.969 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.001255/0.001255, allocations: 189.9 kB / 17.19 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.26/1.26, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7303/0.7303, allocations: 122.9 MB / 413.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 63.89 kB / 0.4912 GB, free: 7.324 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3036, allocations: 77.93 MB / 0.5673 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.003744/0.3073, allocations: 2.736 MB / 0.57 GB, free: 30.79 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002681/0.31, allocations: 2.075 MB / 0.572 GB, free: 29.39 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.3102, allocations: 8.062 kB / 0.572 GB, free: 29.38 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006785/0.3109, allocations: 232.4 kB / 0.5722 GB, free: 29.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004379/0.3113, allocations: 213.8 kB / 0.5724 GB, free: 29.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000562/0.3119, allocations: 274.1 kB / 0.5727 GB, free: 29.02 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002988/0.3122, allocations: 315.7 kB / 0.573 GB, free: 28.88 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002863/0.3125, allocations: 160.1 kB / 0.5731 GB, free: 28.83 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/0.3126, allocations: 126.3 kB / 0.5733 GB, free: 28.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002521/0.3129, allocations: 153.7 kB / 0.5734 GB, free: 28.71 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.027e-05/0.313, allocations: 24.22 kB / 0.5734 GB, free: 28.71 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000592/0.3136, allocations: 411.3 kB / 0.5738 GB, free: 28.58 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.514e-05/0.3137, allocations: 98.02 kB / 0.5739 GB, free: 28.54 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.3138, allocations: 112.5 kB / 0.574 GB, free: 28.48 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006061/0.3144, allocations: 490.6 kB / 0.5745 GB, free: 28.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3144, allocations: 1.859 kB / 0.5745 GB, free: 28.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.3144, allocations: 0.9375 kB / 0.5745 GB, free: 28.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.3144, allocations: 0 / 0.5745 GB, free: 28.32 MB / 446.1 MB 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.0007918/0.3152, allocations: 0.5616 MB / 0.575 GB, free: 27.83 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.3153, allocations: 10.25 kB / 0.5751 GB, free: 27.83 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.164e-05/0.3153, allocations: 57.41 kB / 0.5751 GB, free: 27.78 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009491/0.3163, allocations: 127.4 kB / 0.5752 GB, free: 27.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002484/0.3165, allocations: 263.4 kB / 0.5755 GB, free: 27.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.3166, allocations: 14.19 kB / 0.5755 GB, free: 27.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.114e-05/0.3166, allocations: 21.86 kB / 0.5755 GB, free: 27.51 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006605/0.3173, allocations: 397.8 kB / 0.5759 GB, free: 27.31 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.3173, allocations: 1.25 kB / 0.5759 GB, free: 27.31 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.368e-05/0.3174, allocations: 10.95 kB / 0.5759 GB, free: 27.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.231e-05/0.3174, allocations: 24.75 kB / 0.5759 GB, free: 27.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007588/0.3182, allocations: 380.5 kB / 0.5763 GB, free: 27.18 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001707/0.3199, allocations: 1.742 MB / 0.578 GB, free: 25.76 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006984/0.3206, allocations: 351.4 kB / 0.5783 GB, free: 25.61 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003309/0.3209, allocations: 189.8 kB / 0.5785 GB, free: 25.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001124/0.3211, allocations: 93.17 kB / 0.5786 GB, free: 25.44 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.743e-05/0.3211, allocations: 36.7 kB / 0.5786 GB, free: 25.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=25): time 2.334e-06/0.3211, allocations: 1.406 kB / 0.5786 GB, free: 25.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.008621/0.3297, allocations: 2.049 MB / 0.5806 GB, free: 24.64 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.3298, allocations: 86.23 kB / 0.5807 GB, free: 24.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.3299, allocations: 188 kB / 0.5809 GB, free: 24.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.257e-05/0.33, allocations: 32.89 kB / 0.5809 GB, free: 24.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.966e-05/0.33, allocations: 145.5 kB / 0.5811 GB, free: 24.22 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.709e-05/0.3301, allocations: 117.9 kB / 0.5812 GB, free: 24.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/0.3303, allocations: 79.45 kB / 0.5813 GB, free: 24.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.025e-05/0.3303, allocations: 332.1 kB / 0.5816 GB, free: 23.74 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005215/0.3309, allocations: 267.3 kB / 0.5818 GB, free: 23.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005491/0.3314, allocations: 350.7 kB / 0.5822 GB, free: 23.37 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/0.3325, allocations: 0.625 MB / 0.5828 GB, free: 23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.3325, allocations: 0 / 0.5828 GB, free: 23 MB / 446.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001249/0.3337, allocations: 0.6615 MB / 0.5834 GB, free: 22.65 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.3338, allocations: 7 kB / 0.5834 GB, free: 22.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.966e-06/0.3338, allocations: 2.5 kB / 0.5834 GB, free: 22.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/0.3338, allocations: 7.906 kB / 0.5834 GB, free: 22.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009727/0.3348, allocations: 154.7 kB / 0.5836 GB, free: 22.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.3348, allocations: 4.094 kB / 0.5836 GB, free: 22.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004521/0.3353, allocations: 62.53 kB / 0.5836 GB, free: 22.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.197e-05/0.3353, allocations: 21 kB / 0.5837 GB, free: 22.56 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005786/0.3359, allocations: 368.4 kB / 0.584 GB, free: 22.33 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005212/0.3364, allocations: 332.5 kB / 0.5843 GB, free: 22.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001064/0.3375, allocations: 0.5914 MB / 0.5849 GB, free: 21.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.485e-06/0.3375, allocations: 1.5 kB / 0.5849 GB, free: 21.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001292/0.3388, allocations: 0.6429 MB / 0.5855 GB, free: 21.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.3389, allocations: 8.25 kB / 0.5855 GB, free: 21.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.3389, allocations: 5.531 kB / 0.5856 GB, free: 21.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.793e-06/0.3389, allocations: 4.281 kB / 0.5856 GB, free: 21.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008879/0.3398, allocations: 149.9 kB / 0.5857 GB, free: 21.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.3398, allocations: 3.938 kB / 0.5857 GB, free: 21.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004526/0.3402, allocations: 55.36 kB / 0.5858 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-05/0.3403, allocations: 15.59 kB / 0.5858 GB, free: 21.32 MB / 446.1 MB 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.0001459/0.3404, allocations: 201.8 kB / 0.586 GB, free: 21.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.094e-05/0.3405, allocations: 27.14 kB / 0.586 GB, free: 21.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001318/0.3419, allocations: 0.6838 MB / 0.5867 GB, free: 20.69 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.3419, allocations: 4.094 kB / 0.5867 GB, free: 20.69 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.3419, allocations: 1.594 kB / 0.5867 GB, free: 20.69 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.3419, allocations: 0 / 0.5867 GB, free: 20.69 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001912/0.3438, allocations: 1.361 MB / 0.588 GB, free: 19.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.3438, allocations: 14.98 kB / 0.588 GB, free: 19.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005778/0.3444, allocations: 122.1 kB / 0.5881 GB, free: 19.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.3444, allocations: 3.344 kB / 0.5881 GB, free: 19.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.818e-05/0.3445, allocations: 12.31 kB / 0.5881 GB, free: 19.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.3445, allocations: 4.438 kB / 0.5881 GB, free: 19.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.3445, allocations: 2.281 kB / 0.5881 GB, free: 19.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008731/0.3454, allocations: 0.7128 MB / 0.5888 GB, free: 19.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.3455, allocations: 140.3 kB / 0.589 GB, free: 18.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.525e-05/0.3456, allocations: 20.11 kB / 0.589 GB, free: 18.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003611/0.3459, allocations: 40.84 kB / 0.589 GB, free: 18.92 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.3461, allocations: 24.69 kB / 0.5891 GB, free: 18.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.702e-05/0.3461, allocations: 16.91 kB / 0.5891 GB, free: 18.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001554/0.3462, allocations: 157.9 kB / 0.5892 GB, free: 18.78 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3463, allocations: 0 / 0.5892 GB, free: 18.78 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006993/0.347, allocations: 148.6 kB / 0.5894 GB, free: 18.76 MB / 446.1 MB 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.001105/0.3481, allocations: 1.287 MB / 0.5906 GB, free: 17.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00171/0.3498, allocations: 0.913 MB / 0.5915 GB, free: 17.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3498, allocations: 3.938 kB / 0.5915 GB, free: 17.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003991/0.3502, allocations: 262.2 kB / 0.5918 GB, free: 17.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000512/0.3507, allocations: 41.53 kB / 0.5918 GB, free: 17 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004518/0.3553, allocations: 3.871 MB / 0.5956 GB, free: 12.94 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001732/0.3555, allocations: 0.776 MB / 0.5963 GB, free: 12.14 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005439/0.356, allocations: 174.8 kB / 0.5965 GB, free: 11.97 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001908/0.3562, allocations: 87.39 kB / 0.5966 GB, free: 11.88 MB / 446.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3562, allocations: 0 / 0.5966 GB, free: 11.88 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02106/0.3773, allocations: 7.626 MB / 0.604 GB, free: 4.406 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.178/7.555, allocations: 9.266 kB / 0.6041 GB, free: 4.402 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1)