Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.645/1.645, allocations: 252 MB / 267.3 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00103/0.00103, allocations: 172.5 kB / 327 MB, free: 2.098 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.398/2.398, allocations: 205.4 MB / 0.578 GB, free: 20.12 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009947/0.0009944, allocations: 89.72 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003957/0.0003958, allocations: 14.72 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.3094, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.005105/0.3146, allocations: 3.023 MB / 0.9039 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004228/0.3189, allocations: 2.179 MB / 0.906 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004476/0.3194, allocations: 7.938 kB / 0.906 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004139/0.3199, allocations: 43.7 kB / 0.906 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001182/0.3211, allocations: 223.1 kB / 0.9063 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001233/0.3223, allocations: 263.4 kB / 0.9065 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0008425/0.3232, allocations: 0.5258 MB / 0.907 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008472/0.3241, allocations: 349.1 kB / 0.9074 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004323/0.3245, allocations: 123.5 kB / 0.9075 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005835/0.3251, allocations: 179.3 kB / 0.9076 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.551e-05/0.3252, allocations: 12 kB / 0.9077 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001184/0.3264, allocations: 0.4912 MB / 0.9081 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001631/0.3265, allocations: 79.78 kB / 0.9082 GB, free: 55.85 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001803/0.3267, allocations: 153 kB / 0.9084 GB, free: 55.69 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001056/0.3278, allocations: 0.522 MB / 0.9089 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3278, allocations: 4 kB / 0.9089 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.226e-06/0.3278, allocations: 4 kB / 0.9089 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.3278, allocations: 0 / 0.9089 GB, free: 55.16 MB / 0.6042 GB 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.001126/0.329, allocations: 0.5536 MB / 0.9094 GB, free: 54.56 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.633e-05/0.3291, allocations: 16.02 kB / 0.9094 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001028/0.3292, allocations: 62.66 kB / 0.9095 GB, free: 54.47 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009827/0.3302, allocations: 124.4 kB / 0.9096 GB, free: 54.35 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003642/0.3305, allocations: 271.8 kB / 0.9099 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.3306, allocations: 16.81 kB / 0.9099 GB, free: 54.03 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.86e-05/0.3306, allocations: 20.36 kB / 0.9099 GB, free: 54.01 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006718/0.3313, allocations: 423.7 kB / 0.9103 GB, free: 53.56 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.3313, allocations: 0 / 0.9103 GB, free: 53.56 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.163e-05/0.3314, allocations: 8 kB / 0.9103 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.237e-05/0.3314, allocations: 40.47 kB / 0.9104 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005947/0.332, allocations: 361.9 kB / 0.9107 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002278/0.3343, allocations: 2.062 MB / 0.9127 GB, free: 50.91 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007304/0.335, allocations: 360.4 kB / 0.9131 GB, free: 50.54 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003696/0.3354, allocations: 193.6 kB / 0.9132 GB, free: 50.35 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001035/0.3356, allocations: 93.09 kB / 0.9133 GB, free: 50.24 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.3356, allocations: 34.56 kB / 0.9134 GB, free: 50.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=22): time 1.794e-06/0.3356, allocations: 0 / 0.9134 GB, free: 50.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=34): time 0.004799/0.3404, allocations: 1.754 MB / 0.9151 GB, free: 48.41 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.3405, allocations: 96.92 kB / 0.9152 GB, free: 48.29 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/0.3407, allocations: 232.9 kB / 0.9154 GB, free: 48.05 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.859e-05/0.3407, allocations: 29.7 kB / 0.9154 GB, free: 48.02 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.641e-05/0.3408, allocations: 180.1 kB / 0.9156 GB, free: 47.84 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.222e-05/0.3409, allocations: 122.3 kB / 0.9157 GB, free: 47.72 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.286e-05/0.3409, allocations: 8 kB / 0.9157 GB, free: 47.71 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.854e-05/0.341, allocations: 334.8 kB / 0.916 GB, free: 47.38 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003372/0.3414, allocations: 200.7 kB / 0.9162 GB, free: 47.18 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003655/0.3417, allocations: 321 kB / 0.9165 GB, free: 46.82 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007371/0.3425, allocations: 0.5269 MB / 0.9171 GB, free: 46.25 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3425, allocations: 0 / 0.9171 GB, free: 46.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001137/0.3436, allocations: 0.6758 MB / 0.9177 GB, free: 45.56 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.714e-05/0.3437, allocations: 176.3 kB / 0.9179 GB, free: 45.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/0.3438, allocations: 4 kB / 0.9179 GB, free: 45.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005091/0.3443, allocations: 155.3 kB / 0.918 GB, free: 45.17 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003928/0.3447, allocations: 95.88 kB / 0.9181 GB, free: 45.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002257/0.347, allocations: 3.95 MB / 0.922 GB, free: 40.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003384/0.3473, allocations: 39.95 kB / 0.922 GB, free: 40.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.585e-05/0.3474, allocations: 23.92 kB / 0.922 GB, free: 40.75 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.566e-06/0.3474, allocations: 7.938 kB / 0.922 GB, free: 40.74 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001099/0.3485, allocations: 0.6277 MB / 0.9227 GB, free: 40.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.3485, allocations: 8 kB / 0.9227 GB, free: 40.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003393/0.3488, allocations: 143.4 kB / 0.9228 GB, free: 39.94 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003656/0.3492, allocations: 95.88 kB / 0.9229 GB, free: 39.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004244/0.3497, allocations: 1.113 MB / 0.924 GB, free: 38.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003215/0.35, allocations: 35.88 kB / 0.924 GB, free: 38.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.238e-05/0.35, allocations: 16 kB / 0.924 GB, free: 38.63 MB / 0.6042 GB 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.0002252/0.3503, allocations: 257.1 kB / 0.9243 GB, free: 38.37 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.432e-05/0.3503, allocations: 23.72 kB / 0.9243 GB, free: 38.34 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001088/0.3514, allocations: 0.6249 MB / 0.9249 GB, free: 37.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.3515, allocations: 7.938 kB / 0.9249 GB, free: 37.69 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.3515, allocations: 4 kB / 0.9249 GB, free: 37.69 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.3515, allocations: 4 kB / 0.9249 GB, free: 37.68 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002077/0.3536, allocations: 1.341 MB / 0.9262 GB, free: 36.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.3536, allocations: 4 kB / 0.9262 GB, free: 36.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002485/0.3538, allocations: 76.08 kB / 0.9263 GB, free: 36.15 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004074/0.3543, allocations: 147.3 kB / 0.9265 GB, free: 36 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.559e-05/0.3543, allocations: 16 kB / 0.9265 GB, free: 35.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002121/0.3564, allocations: 3.969 MB / 0.9303 GB, free: 31.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.3565, allocations: 0 / 0.9303 GB, free: 31.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.3575, allocations: 0.7972 MB / 0.9311 GB, free: 30.84 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.3577, allocations: 144.6 kB / 0.9313 GB, free: 30.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.559e-05/0.3577, allocations: 12 kB / 0.9313 GB, free: 30.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003327/0.358, allocations: 35.97 kB / 0.9313 GB, free: 30.64 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/0.3582, allocations: 35.89 kB / 0.9313 GB, free: 30.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/0.3582, allocations: 12 kB / 0.9314 GB, free: 30.59 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001487/0.3584, allocations: 168.5 kB / 0.9315 GB, free: 30.43 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3584, allocations: 0 / 0.9315 GB, free: 30.43 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0008063/0.3592, allocations: 167.9 kB / 0.9317 GB, free: 30.26 MB / 0.6042 GB 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.001406/0.3606, allocations: 1.344 MB / 0.933 GB, free: 28.85 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001925/0.3625, allocations: 1.216 MB / 0.9342 GB, free: 27.57 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.3626, allocations: 0 / 0.9342 GB, free: 27.57 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006324/0.3632, allocations: 497.9 kB / 0.9346 GB, free: 27.05 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005985/0.3638, allocations: 60.66 kB / 0.9347 GB, free: 27 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00508/0.3689, allocations: 4.079 MB / 0.9387 GB, free: 22.69 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.3692, allocations: 0.8084 MB / 0.9395 GB, free: 21.85 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003487/0.3696, allocations: 110.9 kB / 0.9396 GB, free: 21.74 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/0.3697, allocations: 87.41 kB / 0.9397 GB, free: 21.66 MB / 0.6042 GB Notification: Performance of SimCode: time 5.51e-07/0.3697, allocations: 0 / 0.9397 GB, free: 21.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02347/0.3932, allocations: 8.345 MB / 0.9478 GB, free: 13.55 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002309/0.3935, allocations: 266.3 kB / 0.9481 GB, free: 13.19 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.254/2.648, allocations: 11.94 kB / 0.9481 GB, free: 13.18 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1)