Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 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.ACDCConverter,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,fileNamePrefix="IBPSA_latest_IBPSA_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.001412/0.001412, allocations: 103.1 kB / 16.27 MB, free: 5.957 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.001088/0.001088, allocations: 186.9 kB / 17.19 MB, free: 5.594 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.277/1.277, 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.7415/0.7415, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 67.89 kB / 0.4912 GB, free: 7.316 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2919, allocations: 77.92 MB / 0.5673 GB, free: 32.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.004027/0.296, allocations: 3.339 MB / 0.5706 GB, free: 30.4 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002595/0.2986, allocations: 2.163 MB / 0.5727 GB, free: 28.92 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.2987, allocations: 9.312 kB / 0.5727 GB, free: 28.92 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007595/0.2995, allocations: 293.7 kB / 0.573 GB, free: 28.75 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000414/0.2999, allocations: 237 kB / 0.5732 GB, free: 28.62 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006015/0.3005, allocations: 296.4 kB / 0.5735 GB, free: 28.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003414/0.3009, allocations: 390.2 kB / 0.5738 GB, free: 28.32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003116/0.3012, allocations: 208.3 kB / 0.574 GB, free: 28.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001727/0.3014, allocations: 148.9 kB / 0.5742 GB, free: 28.17 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002727/0.3016, allocations: 175.7 kB / 0.5743 GB, free: 28.1 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.509e-05/0.3017, allocations: 20.5 kB / 0.5744 GB, free: 28.1 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005982/0.3023, allocations: 432.9 kB / 0.5748 GB, free: 27.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.3024, allocations: 101.3 kB / 0.5749 GB, free: 27.92 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.3026, allocations: 135.6 kB / 0.575 GB, free: 27.84 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006732/0.3032, allocations: 0.5093 MB / 0.5755 GB, free: 27.67 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3033, allocations: 1.281 kB / 0.5755 GB, free: 27.67 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3033, allocations: 0 / 0.5755 GB, free: 27.67 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.3033, allocations: 0.9375 kB / 0.5755 GB, free: 27.67 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008871/0.3042, allocations: 0.6104 MB / 0.5761 GB, free: 27.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.3042, allocations: 10.72 kB / 0.5761 GB, free: 27.16 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.214e-05/0.3043, allocations: 58.62 kB / 0.5762 GB, free: 27.11 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008553/0.3051, allocations: 125.8 kB / 0.5763 GB, free: 27.08 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003112/0.3055, allocations: 279 kB / 0.5766 GB, free: 26.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.3055, allocations: 13.84 kB / 0.5766 GB, free: 26.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.496e-05/0.3055, allocations: 23.42 kB / 0.5766 GB, free: 26.81 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006592/0.3062, allocations: 418.6 kB / 0.577 GB, free: 26.6 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.3062, allocations: 0.7812 kB / 0.577 GB, free: 26.6 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.148e-05/0.3063, allocations: 8.031 kB / 0.577 GB, free: 26.6 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.006e-05/0.3063, allocations: 34.88 kB / 0.577 GB, free: 26.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005891/0.3069, allocations: 348.3 kB / 0.5774 GB, free: 26.48 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00201/0.3089, allocations: 2.051 MB / 0.5794 GB, free: 24.78 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007289/0.3097, allocations: 350.1 kB / 0.5797 GB, free: 24.63 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003653/0.3101, allocations: 196.2 kB / 0.5799 GB, free: 24.56 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.414e-05/0.3102, allocations: 91.59 kB / 0.58 GB, free: 24.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.3102, allocations: 36.59 kB / 0.58 GB, free: 24.42 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 1.623e-06/0.3102, allocations: 5.719 kB / 0.58 GB, free: 24.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.004669/0.3149, allocations: 1.575 MB / 0.5816 GB, free: 23.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.519e-05/0.3149, allocations: 89.53 kB / 0.5816 GB, free: 23.62 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.3151, allocations: 232.3 kB / 0.5819 GB, free: 23.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.3151, allocations: 34.86 kB / 0.5819 GB, free: 23.42 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.438e-05/0.3152, allocations: 179.6 kB / 0.5821 GB, free: 23.26 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.571e-05/0.3153, allocations: 112.9 kB / 0.5822 GB, free: 23.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.3154, allocations: 83.72 kB / 0.5823 GB, free: 23.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.82e-05/0.3154, allocations: 339 kB / 0.5826 GB, free: 22.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003482/0.3158, allocations: 199.5 kB / 0.5828 GB, free: 22.67 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003687/0.3162, allocations: 310 kB / 0.5831 GB, free: 22.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007119/0.3169, allocations: 0.5038 MB / 0.5836 GB, free: 22.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-06/0.3169, allocations: 2.844 kB / 0.5836 GB, free: 22.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001101/0.318, allocations: 0.6517 MB / 0.5842 GB, free: 21.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.318, allocations: 6.688 kB / 0.5842 GB, free: 21.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.318, allocations: 2.688 kB / 0.5842 GB, free: 21.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004388/0.3185, allocations: 158.2 kB / 0.5844 GB, free: 21.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003739/0.3189, allocations: 88.34 kB / 0.5844 GB, free: 21.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001892/0.3208, allocations: 4.178 MB / 0.5885 GB, free: 17.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003055/0.3211, allocations: 36.95 kB / 0.5886 GB, free: 17.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.072e-05/0.3211, allocations: 17.31 kB / 0.5886 GB, free: 17.45 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004246/0.3216, allocations: 320.5 kB / 0.5889 GB, free: 17.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003723/0.3219, allocations: 297.3 kB / 0.5892 GB, free: 17.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007075/0.3227, allocations: 0.507 MB / 0.5897 GB, free: 16.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.325e-06/0.3227, allocations: 0.9062 kB / 0.5897 GB, free: 16.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001109/0.3238, allocations: 0.653 MB / 0.5903 GB, free: 16.31 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.3238, allocations: 6.188 kB / 0.5903 GB, free: 16.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3238, allocations: 4.219 kB / 0.5903 GB, free: 16.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003729/0.3242, allocations: 148 kB / 0.5904 GB, free: 16.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003655/0.3246, allocations: 92.19 kB / 0.5905 GB, free: 16.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001867/0.3265, allocations: 4.174 MB / 0.5946 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003118/0.3268, allocations: 28.88 kB / 0.5946 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.911e-05/0.3268, allocations: 24.73 kB / 0.5947 GB, free: 12.02 MB / 446.1 MB 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.0001096/0.3269, allocations: 208.6 kB / 0.5949 GB, free: 11.81 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.449e-05/0.327, allocations: 28.62 kB / 0.5949 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001092/0.3281, allocations: 0.5978 MB / 0.5955 GB, free: 11.44 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.3281, allocations: 4.594 kB / 0.5955 GB, free: 11.44 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.3281, allocations: 5.016 kB / 0.5955 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.3281, allocations: 1 kB / 0.5955 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001852/0.33, allocations: 1.323 MB / 0.5968 GB, free: 10.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.33, allocations: 3.219 kB / 0.5968 GB, free: 10.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002432/0.3303, allocations: 71.66 kB / 0.5968 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003525/0.3306, allocations: 149.7 kB / 0.597 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.471e-05/0.3307, allocations: 7.812 kB / 0.597 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00183/0.3325, allocations: 4.201 MB / 0.6011 GB, free: 6.121 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.3325, allocations: 7 kB / 0.6011 GB, free: 6.117 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009678/0.3335, allocations: 0.7725 MB / 0.6019 GB, free: 5.547 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.3336, allocations: 135.6 kB / 0.602 GB, free: 5.402 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.121e-05/0.3337, allocations: 12 kB / 0.602 GB, free: 5.391 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002948/0.334, allocations: 31.95 kB / 0.602 GB, free: 5.359 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.153e-05/0.334, allocations: 39.84 kB / 0.6021 GB, free: 5.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/0.3341, allocations: 8 kB / 0.6021 GB, free: 5.312 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001095/0.3342, allocations: 172.5 kB / 0.6022 GB, free: 5.148 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3342, allocations: 4 kB / 0.6022 GB, free: 5.145 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000695/0.3349, allocations: 164 kB / 0.6024 GB, free: 4.984 MB / 446.1 MB 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.001107/0.336, allocations: 1.336 MB / 0.6037 GB, free: 3.582 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001706/0.3377, allocations: 1.284 MB / 0.605 GB, free: 2.246 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3377, allocations: 0 / 0.605 GB, free: 2.246 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000567/0.3383, allocations: 486.1 kB / 0.6054 GB, free: 1.746 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005345/0.3389, allocations: 67.03 kB / 0.6055 GB, free: 1.684 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004595/0.3435, allocations: 3.89 MB / 0.6093 GB, free: 13.55 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.3438, allocations: 0.8084 MB / 0.6101 GB, free: 12.71 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000326/0.3442, allocations: 114.9 kB / 0.6102 GB, free: 12.6 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.3443, allocations: 91.39 kB / 0.6103 GB, free: 12.51 MB / 462.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3443, allocations: 0 / 0.6103 GB, free: 12.51 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03317/0.3775, allocations: 9.155 MB / 0.6192 GB, free: 3.586 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.13, allocations: 9.203 kB / 0.6192 GB, free: 3.578 MB / 462.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter_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_ACDCConverter.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1)