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.ACACConverter.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.ACACConverter,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.506/1.506, 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.001178/0.001179, allocations: 171.9 kB / 327 MB, free: 2.094 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.371/2.371, allocations: 205.4 MB / 0.578 GB, free: 20.17 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.0007934/0.0007934, allocations: 89.84 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003845/0.0003846, allocations: 8.469 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3852/0.3856, allocations: 106.3 MB / 0.9009 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.003953/0.3896, allocations: 2.442 MB / 0.9033 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003545/0.3932, allocations: 2.035 MB / 0.9053 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001737/0.3935, allocations: 3.938 kB / 0.9053 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002461/0.3937, allocations: 27.78 kB / 0.9053 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006584/0.3944, allocations: 183.3 kB / 0.9055 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008788/0.3953, allocations: 247.5 kB / 0.9057 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004305/0.3957, allocations: 450.8 kB / 0.9062 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006814/0.3964, allocations: 370.3 kB / 0.9065 GB, free: 57.58 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.3966, allocations: 103.6 kB / 0.9066 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003353/0.3969, allocations: 147.5 kB / 0.9068 GB, free: 57.33 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.929e-05/0.397, allocations: 12 kB / 0.9068 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007582/0.3978, allocations: 443.2 kB / 0.9072 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001304/0.3979, allocations: 91.64 kB / 0.9073 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001626/0.3981, allocations: 125.2 kB / 0.9074 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006908/0.3988, allocations: 470.9 kB / 0.9078 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.947e-06/0.3988, allocations: 4 kB / 0.9079 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.945e-06/0.3988, allocations: 0 / 0.9079 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.146e-05/0.3988, allocations: 0 / 0.9079 GB, free: 56.2 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001205/0.4, allocations: 0.517 MB / 0.9084 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.832e-05/0.4001, allocations: 8.031 kB / 0.9084 GB, free: 55.63 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001004/0.4002, allocations: 58.72 kB / 0.9084 GB, free: 55.56 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008808/0.4011, allocations: 112.5 kB / 0.9085 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003978/0.4015, allocations: 260.4 kB / 0.9088 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.632e-05/0.4016, allocations: 16.81 kB / 0.9088 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.875e-05/0.4016, allocations: 23.92 kB / 0.9088 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007031/0.4023, allocations: 389.9 kB / 0.9092 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.4024, allocations: 0 / 0.9092 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.56e-05/0.4024, allocations: 8 kB / 0.9092 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.154e-05/0.4025, allocations: 23.98 kB / 0.9092 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006844/0.4032, allocations: 375.4 kB / 0.9096 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002136/0.4053, allocations: 1.734 MB / 0.9113 GB, free: 52.44 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006327/0.406, allocations: 348.9 kB / 0.9116 GB, free: 52.08 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002983/0.4063, allocations: 189.6 kB / 0.9118 GB, free: 51.89 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001855/0.4065, allocations: 97.08 kB / 0.9119 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.4065, allocations: 34.56 kB / 0.9119 GB, free: 51.73 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=25): time 2.444e-06/0.4065, allocations: 0 / 0.9119 GB, free: 51.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=35): time 0.007396/0.4139, allocations: 2.064 MB / 0.9139 GB, free: 49.66 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.423e-05/0.4141, allocations: 81.11 kB / 0.914 GB, free: 49.56 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/0.4143, allocations: 191.4 kB / 0.9142 GB, free: 49.36 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/0.4144, allocations: 33.7 kB / 0.9142 GB, free: 49.32 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.4145, allocations: 148.4 kB / 0.9144 GB, free: 49.18 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.4146, allocations: 122.2 kB / 0.9145 GB, free: 49.05 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.4146, allocations: 8 kB / 0.9145 GB, free: 49.05 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000193/0.4148, allocations: 330.8 kB / 0.9148 GB, free: 48.71 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004531/0.4153, allocations: 259.8 kB / 0.915 GB, free: 48.46 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00049/0.4158, allocations: 341.5 kB / 0.9154 GB, free: 48.09 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009455/0.4168, allocations: 0.6228 MB / 0.916 GB, free: 47.44 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4168, allocations: 0 / 0.916 GB, free: 47.44 MB / 0.6042 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001124/0.4179, allocations: 0.6615 MB / 0.9166 GB, free: 46.77 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001288/0.4181, allocations: 148.8 kB / 0.9168 GB, free: 46.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.4181, allocations: 4 kB / 0.9168 GB, free: 46.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.091e-05/0.4181, allocations: 4 kB / 0.9168 GB, free: 46.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008874/0.419, allocations: 151.7 kB / 0.9169 GB, free: 46.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/0.419, allocations: 4 kB / 0.9169 GB, free: 46.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004442/0.4195, allocations: 67.86 kB / 0.917 GB, free: 46.37 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-05/0.4195, allocations: 19.94 kB / 0.917 GB, free: 46.35 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.303e-06/0.4196, allocations: 4 kB / 0.917 GB, free: 46.34 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001006/0.4206, allocations: 0.5894 MB / 0.9176 GB, free: 45.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.4206, allocations: 16.2 kB / 0.9176 GB, free: 45.74 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.622e-06/0.4206, allocations: 4 kB / 0.9176 GB, free: 45.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007738/0.4214, allocations: 143.8 kB / 0.9177 GB, free: 45.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.4214, allocations: 4 kB / 0.9177 GB, free: 45.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003466/0.4218, allocations: 51.94 kB / 0.9178 GB, free: 45.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.628e-05/0.4218, allocations: 23.98 kB / 0.9178 GB, free: 45.52 MB / 0.6042 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.0002465/0.4221, allocations: 241 kB / 0.918 GB, free: 45.27 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.92e-05/0.4222, allocations: 27.66 kB / 0.9181 GB, free: 45.24 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001266/0.4234, allocations: 0.6802 MB / 0.9187 GB, free: 44.55 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.4235, allocations: 8 kB / 0.9187 GB, free: 44.54 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.4235, allocations: 0 / 0.9187 GB, free: 44.54 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.4235, allocations: 0 / 0.9187 GB, free: 44.54 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002212/0.4257, allocations: 1.394 MB / 0.9201 GB, free: 43.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.4257, allocations: 0 / 0.9201 GB, free: 43.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005296/0.4263, allocations: 123.8 kB / 0.9202 GB, free: 42.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.187e-05/0.4263, allocations: 4 kB / 0.9202 GB, free: 42.93 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.959e-05/0.4263, allocations: 12.23 kB / 0.9202 GB, free: 42.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.4264, allocations: 8 kB / 0.9203 GB, free: 42.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/0.4264, allocations: 7.938 kB / 0.9203 GB, free: 42.9 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009726/0.4274, allocations: 0.7307 MB / 0.921 GB, free: 42.13 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/0.4275, allocations: 144.8 kB / 0.9211 GB, free: 41.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.001e-05/0.4276, allocations: 8 kB / 0.9211 GB, free: 41.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003281/0.4279, allocations: 43.94 kB / 0.9212 GB, free: 41.92 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.428, allocations: 35.84 kB / 0.9212 GB, free: 41.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-05/0.4281, allocations: 12 kB / 0.9212 GB, free: 41.87 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001264/0.4282, allocations: 143.1 kB / 0.9213 GB, free: 41.73 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.31e-07/0.4282, allocations: 0 / 0.9213 GB, free: 41.73 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007151/0.4289, allocations: 144 kB / 0.9215 GB, free: 41.59 MB / 0.6042 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.001444/0.4304, allocations: 1.31 MB / 0.9228 GB, free: 40.23 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001698/0.4321, allocations: 0.879 MB / 0.9236 GB, free: 39.35 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.4321, allocations: 192 / 0.9236 GB, free: 39.35 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004183/0.4326, allocations: 271.6 kB / 0.9239 GB, free: 39.08 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006406/0.4332, allocations: 40.47 kB / 0.9239 GB, free: 39.04 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005816/0.4391, allocations: 3.951 MB / 0.9278 GB, free: 34.91 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003937/0.4395, allocations: 0.776 MB / 0.9285 GB, free: 34.11 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0005687/0.4401, allocations: 182.8 kB / 0.9287 GB, free: 33.92 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002163/0.4403, allocations: 79.41 kB / 0.9288 GB, free: 33.84 MB / 0.6042 GB Notification: Performance of SimCode: time 1.472e-06/0.4403, allocations: 0 / 0.9288 GB, free: 33.84 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02611/0.4664, allocations: 6.758 MB / 0.9354 GB, free: 27.28 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002492/0.4668, allocations: 232 kB / 0.9356 GB, free: 27.02 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.112/2.579, allocations: 0 / 0.9356 GB, free: 27.02 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1)