Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 105.2 kB / 19.72 MB, free: 2.234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 214.3 kB / 23.04 MB, free: 5.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.435/1.435, allocations: 230.6 MB / 256.8 MB, free: 7.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.204/3.204, allocations: 0.5003 GB / 0.8061 GB, free: 26.78 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 67.08 kB / 1.171 GB, free: 19.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.3618, allocations: 179 MB / 1.345 GB, free: 352 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.00566/0.3675, allocations: 2.838 MB / 1.348 GB, free: 13.49 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004167/0.3716, allocations: 2.201 MB / 1.35 GB, free: 11.28 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001684/0.3718, allocations: 7.938 kB / 1.35 GB, free: 11.27 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0008946/0.3727, allocations: 239.1 kB / 1.35 GB, free: 11.04 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0005958/0.3733, allocations: 219.1 kB / 1.351 GB, free: 10.82 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008253/0.3741, allocations: 279.2 kB / 1.351 GB, free: 10.55 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004724/0.3746, allocations: 334.8 kB / 1.351 GB, free: 10.22 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003332/0.3749, allocations: 133.9 kB / 1.351 GB, free: 10.09 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002601/0.3752, allocations: 143.6 kB / 1.352 GB, free: 9.945 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003623/0.3756, allocations: 167.4 kB / 1.352 GB, free: 9.781 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.654e-05/0.3756, allocations: 20 kB / 1.352 GB, free: 9.762 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000803/0.3764, allocations: 439.2 kB / 1.352 GB, free: 9.332 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001447/0.3765, allocations: 99.72 kB / 1.352 GB, free: 9.234 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001339/0.3767, allocations: 111.5 kB / 1.352 GB, free: 9.125 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000773/0.3774, allocations: 0.4944 MB / 1.353 GB, free: 8.629 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.3774, allocations: 3.938 kB / 1.353 GB, free: 8.625 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.472e-06/0.3774, allocations: 0 / 1.353 GB, free: 8.625 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.834e-06/0.3775, allocations: 0 / 1.353 GB, free: 8.625 MB / 1.045 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.001093/0.3785, allocations: 0.5049 MB / 1.353 GB, free: 8.09 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/0.3786, allocations: 12.02 kB / 1.353 GB, free: 8.078 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.139e-05/0.3786, allocations: 12.62 kB / 1.353 GB, free: 8.066 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.622e-05/0.3787, allocations: 58.73 kB / 1.353 GB, free: 8 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009914/0.3797, allocations: 136.6 kB / 1.354 GB, free: 7.867 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003595/0.38, allocations: 202.7 kB / 1.354 GB, free: 7.645 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.3801, allocations: 16.56 kB / 1.354 GB, free: 7.629 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.476e-05/0.3801, allocations: 23.98 kB / 1.354 GB, free: 7.605 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007479/0.3809, allocations: 397.9 kB / 1.354 GB, free: 7.184 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.3809, allocations: 11.86 kB / 1.354 GB, free: 7.172 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.436e-05/0.3809, allocations: 12 kB / 1.354 GB, free: 7.16 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.096e-05/0.381, allocations: 19.98 kB / 1.354 GB, free: 7.141 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00077/0.3818, allocations: 371.7 kB / 1.355 GB, free: 6.777 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002394/0.3841, allocations: 1.7 MB / 1.356 GB, free: 4.945 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007882/0.3849, allocations: 349 kB / 1.357 GB, free: 4.586 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003621/0.3853, allocations: 177.6 kB / 1.357 GB, free: 4.406 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001276/0.3854, allocations: 24.31 kB / 1.357 GB, free: 4.383 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.3855, allocations: 38.56 kB / 1.357 GB, free: 4.336 MB / 1.045 GB Notification: Performance of pre-optimization done (n=25): time 1.994e-06/0.3855, allocations: 3.938 kB / 1.357 GB, free: 4.332 MB / 1.045 GB Notification: Performance of matching and sorting (n=35): time 0.00987/0.3953, allocations: 2.232 MB / 1.359 GB, free: 2.094 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.723e-05/0.3954, allocations: 81.11 kB / 1.359 GB, free: 1.996 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/0.3956, allocations: 179.2 kB / 1.359 GB, free: 1.809 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.069e-05/0.3957, allocations: 33.7 kB / 1.359 GB, free: 1.77 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.3958, allocations: 152.7 kB / 1.359 GB, free: 1.613 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/0.3959, allocations: 126.9 kB / 1.359 GB, free: 1.488 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000184/0.3961, allocations: 77.69 kB / 1.36 GB, free: 1.406 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.3963, allocations: 334.8 kB / 1.36 GB, free: 1.07 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006186/0.3969, allocations: 288.6 kB / 1.36 GB, free: 0.7852 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006984/0.3976, allocations: 374.1 kB / 1.361 GB, free: 392 kB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001347/0.3989, allocations: 0.6581 MB / 1.361 GB, free: 15.69 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.3989, allocations: 4 kB / 1.361 GB, free: 15.69 MB / 1.061 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.00156/0.4005, allocations: 0.7021 MB / 1.362 GB, free: 14.98 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.4005, allocations: 4 kB / 1.362 GB, free: 14.98 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.4005, allocations: 4 kB / 1.362 GB, free: 14.97 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/0.4006, allocations: 4 kB / 1.362 GB, free: 14.97 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001338/0.4019, allocations: 199.6 kB / 1.362 GB, free: 14.77 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.4019, allocations: 8.188 kB / 1.362 GB, free: 14.77 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004944/0.4024, allocations: 59.91 kB / 1.362 GB, free: 14.71 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.695e-05/0.4024, allocations: 16 kB / 1.362 GB, free: 14.69 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007727/0.4032, allocations: 392.6 kB / 1.363 GB, free: 14.3 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000668/0.4039, allocations: 353.2 kB / 1.363 GB, free: 13.93 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001265/0.4051, allocations: 0.6565 MB / 1.363 GB, free: 13.24 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.579e-06/0.4052, allocations: 7.875 kB / 1.363 GB, free: 13.23 MB / 1.061 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001496/0.4066, allocations: 0.673 MB / 1.364 GB, free: 12.55 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.4067, allocations: 13.94 kB / 1.364 GB, free: 12.54 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.4067, allocations: 0 / 1.364 GB, free: 12.54 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.855e-06/0.4067, allocations: 4 kB / 1.364 GB, free: 12.54 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/0.408, allocations: 195.7 kB / 1.364 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.408, allocations: 7.938 kB / 1.364 GB, free: 12.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004718/0.4084, allocations: 55.92 kB / 1.364 GB, free: 12.28 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.667e-05/0.4085, allocations: 19.98 kB / 1.364 GB, free: 12.26 MB / 1.061 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.0002255/0.4087, allocations: 204.1 kB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.331e-05/0.4088, allocations: 23.86 kB / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001575/0.4104, allocations: 0.7195 MB / 1.365 GB, free: 11.3 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.4104, allocations: 8 kB / 1.365 GB, free: 11.29 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.4104, allocations: 3.938 kB / 1.365 GB, free: 11.29 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.4104, allocations: 0 / 1.365 GB, free: 11.29 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002473/0.4129, allocations: 1.302 MB / 1.367 GB, free: 9.918 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.4129, allocations: 0 / 1.367 GB, free: 9.918 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007282/0.4136, allocations: 148 kB / 1.367 GB, free: 9.773 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.032e-06/0.4136, allocations: 0 / 1.367 GB, free: 9.773 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.313e-05/0.4136, allocations: 15.94 kB / 1.367 GB, free: 9.758 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/0.4136, allocations: 4 kB / 1.367 GB, free: 9.754 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.706e-06/0.4136, allocations: 3.938 kB / 1.367 GB, free: 9.75 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.4148, allocations: 0.7341 MB / 1.368 GB, free: 8.977 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001753/0.415, allocations: 63.81 kB / 1.368 GB, free: 8.914 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.729e-05/0.4151, allocations: 15.88 kB / 1.368 GB, free: 8.898 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003719/0.4154, allocations: 39.94 kB / 1.368 GB, free: 8.859 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.364e-05/0.4155, allocations: 27.95 kB / 1.368 GB, free: 8.832 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.01e-05/0.4156, allocations: 12 kB / 1.368 GB, free: 8.82 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002092/0.4158, allocations: 155.8 kB / 1.368 GB, free: 8.668 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4158, allocations: 0 / 1.368 GB, free: 8.668 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007219/0.4165, allocations: 155.9 kB / 1.368 GB, free: 8.516 MB / 1.061 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.001647/0.4181, allocations: 1.312 MB / 1.369 GB, free: 7.152 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002006/0.4201, allocations: 0.8633 MB / 1.37 GB, free: 6.289 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.4201, allocations: 3.938 kB / 1.37 GB, free: 6.285 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0004857/0.4206, allocations: 248.7 kB / 1.37 GB, free: 6.043 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005544/0.4212, allocations: 52.78 kB / 1.37 GB, free: 5.996 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006705/0.4279, allocations: 4.025 MB / 1.374 GB, free: 1.797 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000472/0.4284, allocations: 0.7799 MB / 1.375 GB, free: 0.9922 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0005798/0.4289, allocations: 182.8 kB / 1.375 GB, free: 0.8125 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002456/0.4292, allocations: 87.39 kB / 1.375 GB, free: 0.7266 MB / 1.061 GB Notification: Performance of SimCode: time 1.182e-06/0.4292, allocations: 0 / 1.375 GB, free: 0.7266 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03178/0.461, allocations: 8.651 MB / 1.384 GB, free: 8.242 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.81, allocations: 16.91 kB / 1.384 GB, free: 8.23 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.57368781400146] Failed to read output from testmodel.py, exit status != 0: 11.981543653993867 12.008119331 11.626464895 Calling exit ...